spec/integration/api/v2010/account/message_spec.rb in twilio-ruby-5.6.0 vs spec/integration/api/v2010/account/message_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") \ - .messages.create(to: "+123456789") + .messages.create(to: "+15558675310") }.to raise_exception(Twilio::REST::TwilioError) - values = {'To' => "+123456789"} + values = {'To' => "+15558675310", } expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages.json', data: values, @@ -54,11 +54,11 @@ } ] )) actual = @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ - .messages.create(to: "+123456789") + .messages.create(to: "+15558675310") expect(actual).to_not eq(nil) end it "can delete" do @@ -243,10 +243,10 @@ expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .messages("MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(body: "body") }.to raise_exception(Twilio::REST::TwilioError) - values = {'Body' => "body"} + values = {'Body' => "body", } expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json', data: values, \ No newline at end of file