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

- old
+ new

@@ -10,14 +10,14 @@ it "can create" do @holodeck.mock(Twilio::Response.new(500, '')) expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .calls.create(to: "+123456789", from: "+987654321") + .calls.create(to: "+15558675310", from: "+15017122661") }.to raise_exception(Twilio::REST::TwilioError) - values = {'To' => "+123456789", 'From' => "+987654321"} + values = {'To' => "+15558675310", 'From' => "+15017122661", } expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json', data: values, @@ -62,10 +62,10 @@ } ] )) actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .calls.create(to: "+123456789", from: "+987654321") + .calls.create(to: "+15558675310", from: "+15017122661") expect(actual).to_not eq(nil) end it "can delete" do \ No newline at end of file