Skip to content
Browse files

use the old hash syntax to accommodate old environments

  • Loading branch information...
1 parent 9f6fa25 commit 2457bc5e6c7e891cea66a9b743b8dff761d516bd @andrewmbenton andrewmbenton committed Jul 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/rest/client_spec.rb
View
4 spec/rest/client_spec.rb
@@ -8,8 +8,8 @@
end
it 'should not raise an error if the response body is nil' do
- response = double(:response, body: nil)
- connection = double(:connection, request: response)
+ response = double(:response, :body => nil)
+ connection = double(:connection, :request => response)
twilio = Twilio::REST::Client.new('someSid', 'someToken')
twilio.instance_variable_set(:@connection, connection)
Twilio::REST::IncomingPhoneNumber.new('/phone_number', twilio).delete

0 comments on commit 2457bc5

Please sign in to comment.
Something went wrong with that request. Please try again.