From a9372e35560a9a95c1cc40f43d2c6d68709e1d6f Mon Sep 17 00:00:00 2001 From: Matthew Rider Date: Mon, 7 Oct 2024 19:29:56 +0200 Subject: [PATCH] Hard code spec expectation to make more resilient --- spec/adapters/whats_app_adapter/twilio_outbound_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/adapters/whats_app_adapter/twilio_outbound_spec.rb b/spec/adapters/whats_app_adapter/twilio_outbound_spec.rb index b4ffb55d3..9834c0f07 100644 --- a/spec/adapters/whats_app_adapter/twilio_outbound_spec.rb +++ b/spec/adapters/whats_app_adapter/twilio_outbound_spec.rb @@ -16,7 +16,7 @@ describe '::send_welcome_message!' do let(:expected_job_args) do { organization_id: organization.id, contributor_id: contributor.id, - text: ["*#{onboarding_success_heading}*", onboarding_success_text].join("\n\n") } + text: "*Thanks for onboarding*\n\nWe will start sending messages soon." } end subject { -> { described_class.send_welcome_message!(contributor, organization) } } before do