Sha256: f91a6c2a016c4f0e8c71604e79547773fb88f0e0476ce2fd5fc350f03505eb11
Contents?: true
Size: 965 Bytes
Versions: 13
Compression:
Stored size: 965 Bytes
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / require 'spec_helper.rb' describe 'RatePlan' do it "can read" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.rate_plans.list() }.to raise_exception(Twilio::REST::TwilioException) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', url: 'https://preview.twilio.com/wireless/RatePlans', ))).to eq(true) end it "can fetch" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) expect { @client.preview.wireless.rate_plans("sid").fetch() }.to raise_exception(Twilio::REST::TwilioException) values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', url: 'https://preview.twilio.com/wireless/RatePlans/sid', ))).to eq(true) end end
Version data entries
13 entries across 13 versions & 1 rubygems