spec/integration/preview/wireless/command_spec.rb in twilio-ruby-5.7.2 vs spec/integration/preview/wireless/command_spec.rb in twilio-ruby-5.8.0
- old
+ new
@@ -9,18 +9,18 @@
describe 'Command' do
it "can fetch" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
- @client.preview.wireless.commands('DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
+ @client.preview.wireless.commands('DCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
}.to raise_exception(Twilio::REST::TwilioError)
values = {}
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',
- url: 'https://preview.twilio.com/wireless/Commands/DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
+ url: 'https://preview.twilio.com/wireless/Commands/DCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
))).to eq(true)
end
it "receives fetch responses" do
@holodeck.mock(Twilio::Response.new(
@@ -40,10 +40,10 @@
"url": "https://preview.twilio.com/wireless/Commands/DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
))
- actual = @client.preview.wireless.commands('DCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').fetch()
+ actual = @client.preview.wireless.commands('DCXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
expect(actual).to_not eq(nil)
end
it "can read" do
\ No newline at end of file