diff --git a/spec/requests/whats_app/webhook_spec.rb b/spec/requests/whats_app/webhook_spec.rb index 064c1d3cf..b7b9651cb 100644 --- a/spec/requests/whats_app/webhook_spec.rb +++ b/spec/requests/whats_app/webhook_spec.rb @@ -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)