spec/integration/api/v2010/account/conference/participant_spec.rb in twilio-ruby-5.4.2 vs spec/integration/api/v2010/account/conference/participant_spec.rb in twilio-ruby-5.4.3
- old
+ new
@@ -102,13 +102,10 @@
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.participants.create(from: "+987654321", to: "+123456789")
}.to raise_exception(Twilio::REST::TwilioError)
- values = {
- 'From' => "+987654321",
- 'To' => "+123456789",
- }
+ values = {'From' => "+987654321", 'To' => "+123456789",}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants.json',
data: values,
\ No newline at end of file