Skip to content

Commit

Permalink
Fix spec after changing implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 committed Mar 11, 2024
1 parent 5c2a2c6 commit 0b31b7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/requests/whats_app/webhook_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
before do
subject.call
params['OriginalRepliedMessageSid'] = 'someUniqueId'
params['ButtonText'] = 'Antworten'
allow(Twilio::REST::Client).to receive(:new).and_return(mock_twilio_rest_client)
allow(mock_twilio_rest_client).to receive(:messages).with('someUniqueId').and_return(messages_double)
allow(messages_double).to receive(:fetch).and_return(messages_double)
Expand Down

0 comments on commit 0b31b7d

Please sign in to comment.