spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb in twilio-ruby-5.0.0.rc20

- old
+ new

@@ -12,11 +12,11 @@ expect { @client.taskrouter.v1.workspaces("WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .workers("WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .reservations.list() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', @@ -99,11 +99,11 @@ expect { @client.taskrouter.v1.workspaces("WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .workers("WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .reservations("WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', @@ -147,10 +147,10 @@ expect { @client.taskrouter.v1.workspaces("WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .workers("WKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \ .reservations("WRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update() - }.to raise_exception(Twilio::REST::TwilioException) + }.to raise_exception(Twilio::REST::TwilioError) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'post', \ No newline at end of file