spec/integration/api/v2010/account/call/feedback_spec.rb in twilio-ruby-5.0.0.rc19 vs spec/integration/api/v2010/account/call/feedback_spec.rb in twilio-ruby-5.0.0.rc20
- old
+ new
@@ -12,11 +12,11 @@
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.feedback().create(quality_score: 1)
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {
'QualityScore' => 1,
}
expect(
@@ -57,11 +57,11 @@
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.feedback().fetch()
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
@@ -99,10 +99,10 @@
expect {
@client.api.v2010.accounts("ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.calls("CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.feedback().update(quality_score: 1)
- }.to raise_exception(Twilio::REST::TwilioException)
+ }.to raise_exception(Twilio::REST::TwilioError)
values = {
'QualityScore' => 1,
}
expect(
\ No newline at end of file