spec/integration/api/v2010/account/connect_app_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/api/v2010/account/connect_app_spec.rb in twilio-ruby-5.0.0.rc20
- old
+ new
@@ -11,11 +11,11 @@
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.connect_apps("CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
@@ -53,11 +53,11 @@
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.connect_apps("CNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
@@ -95,10 +95,10 @@
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.connect_apps.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