spec/integration/api/v2010/account/conference/participant_spec.rb in twilio-ruby-5.6.0 vs spec/integration/api/v2010/account/conference/participant_spec.rb in twilio-ruby-5.6.1

- old
+ new

@@ -99,14 +99,14 @@ @holodeck.mock(Twilio::Response.new(500, '')) expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .participants.create(from: "+987654321", to: "+123456789") + .participants.create(from: "+15017122661", to: "+15558675310") }.to raise_exception(Twilio::REST::TwilioError) - values = {'From' => "+987654321", 'To' => "+123456789"} + values = {'From' => "+15017122661", 'To' => "+15558675310", } 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, @@ -133,11 +133,11 @@ ] )) actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .participants.create(from: "+987654321", to: "+123456789") + .participants.create(from: "+15017122661", to: "+15558675310") expect(actual).to_not eq(nil) end it "receives create_with_friendly_name responses" do @@ -160,10 +160,10 @@ ] )) actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .participants.create(from: "+987654321", to: "+123456789") + .participants.create(from: "+15017122661", to: "+15558675310") expect(actual).to_not eq(nil) end it "can delete" do \ No newline at end of file