spec/integration/api/v2010/account/message/feedback_spec.rb in twilio-ruby-5.7.2 vs spec/integration/api/v2010/account/message/feedback_spec.rb in twilio-ruby-5.8.0
- old
+ new
@@ -9,20 +9,20 @@
describe 'Feedback' do
it "can create" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
- .messages('MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
+ .messages('MMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.feedback.create()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://api.twilio.com/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Messages/MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json',
+ url: 'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/MMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Feedback.json',
))).to eq(true)
end
it "receives create responses" do
@holodeck.mock(Twilio::Response.new(
@@ -37,11 +37,11 @@
"uri": "uri"
}
]
))
- actual = @client.api.v2010.accounts('ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
- .messages('MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') \
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
+ .messages('MMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
.feedback.create()
expect(actual).to_not eq(nil)
end
end
\ No newline at end of file