spec/integration/preview/wireless/command_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/preview/wireless/command_spec.rb in twilio-ruby-5.0.0.rc20

- old
+ new

@@ -10,11 +10,11 @@ it "can fetch" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.commands("DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', @@ -50,11 +50,11 @@ it "can read" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.commands.list() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', @@ -127,10 +127,10 @@ it "can create" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.commands.create(command: "command") - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = { 'Command' => "command", } expect( \ No newline at end of file