Sha256: 168f15141fc364e2b4bd7819aa77df7398896e2d8c9e944cb82810df8d33027d
Contents?: true
Size: 611 Bytes
Versions: 1
Compression:
Stored size: 611 Bytes
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / require 'spec_helper.rb' describe 'Usage' do it "can fetch" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.devices("sid") \ .usage().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/Usage', ))).to eq(true) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-5.0.0.rc5 | spec/integration/preview/wireless/device/usage_spec.rb |