spec/integration/chat/v2/service/channel/message_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/chat/v2/service/channel/message_spec.rb in twilio-ruby-5.0.0.rc20
- old
+ new
@@ -12,11 +12,11 @@
expect {
@client.chat.v2.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.channels("CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages("IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
@@ -58,11 +58,11 @@
expect {
@client.chat.v2.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.channels("CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages.create(body: "body")
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {
'Body' => "body",
}
expect(
@@ -136,11 +136,11 @@
expect {
@client.chat.v2.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.channels("CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages.list()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
@@ -221,11 +221,11 @@
expect {
@client.chat.v2.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.channels("CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages("IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").delete()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'delete',
@@ -251,10 +251,10 @@
expect {
@client.chat.v2.services("ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.channels("CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages("IMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").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