Skip to content

Commit

Permalink
Hard code spec expectation to make more resilient
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 committed Oct 7, 2024
1 parent c711a76 commit a9372e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/adapters/whats_app_adapter/twilio_outbound_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9372e3

Please sign in to comment.