spec/integration/lookups/v1/phone_number_spec.rb in twilio-ruby-5.0.0.rc18 vs spec/integration/lookups/v1/phone_number_spec.rb in twilio-ruby-5.0.0.rc19

- old
+ new

@@ -1,21 +1,21 @@ ## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 -# / / +# / / require 'spec_helper.rb' describe 'PhoneNumber' do it "can fetch" do @holodeck.mock(Twilio::TwilioResponse.new(500, '')) - + expect { @client.lookups.v1.phone_numbers("+987654321").fetch() }.to raise_exception(Twilio::REST::TwilioException) - + values = {} expect( @holodeck.has_request?(Holodeck::Request.new( method: 'get', url: 'https://lookups.twilio.com/v1/PhoneNumbers/+987654321', @@ -50,11 +50,11 @@ }, "url": "https://lookups.twilio.com/v1/PhoneNumbers/phone_number" } ] )) - + actual = @client.lookups.v1.phone_numbers("+987654321").fetch() - + expect(actual).to_not eq(nil) end end \ No newline at end of file