spec/integration/api/v2010/account/call/notification_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/api/v2010/account/call/notification_spec.rb in twilio-ruby-5.0.0.rc20

- old
+ new

@@ -12,11 +12,11 @@ expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .notifications("NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', @@ -62,11 +62,11 @@ expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .notifications("NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").delete() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'delete', @@ -92,10 +92,10 @@ expect { @client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .notifications.list() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', \ No newline at end of file