spec/integration/preview/wireless/device_spec.rb in twilio-ruby-5.0.0.rc9 vs spec/integration/preview/wireless/device_spec.rb in twilio-ruby-5.0.0.rc10
- old
+ new
@@ -9,18 +9,18 @@
describe 'Device' do
it "can fetch" do
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
expect {
- @client.preview.wireless.devices("sid").fetch()
+ @client.preview.wireless.devices("DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
}.to raise_exception(Twilio::REST::TwilioException)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://preview.twilio.com/wireless/Devices/sid',
+ url: 'https://preview.twilio.com/wireless/Devices/DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
))).to eq(true)
end
it "can read" do
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
@@ -57,16 +57,16 @@
it "can update" do
@holodeck.mock(Twilio::TwilioResponse.new(500, ''))
expect {
- @client.preview.wireless.devices("sid").update()
+ @client.preview.wireless.devices("DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
}.to raise_exception(Twilio::REST::TwilioException)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'post',
- url: 'https://preview.twilio.com/wireless/Devices/sid',
+ url: 'https://preview.twilio.com/wireless/Devices/DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
))).to eq(true)
end
end
\ No newline at end of file