spec/rest/client_spec.rb in twilio-ruby-3.13.1 vs spec/rest/client_spec.rb in twilio-ruby-3.14.0
- old
+ new
@@ -179,21 +179,6 @@
client = Twilio::REST::Client.new('someSid', 'someToken')
expect(client).to respond_to(method)
expect(client.send(method)).to eq(client.account.send(method))
end
end
-
- it 'should convert all parameter names to Twilio-style names' do
- twilio = Twilio::REST::Client.new('someSid', 'someToken')
- untwilified = {
- :sms_url => 'someUrl',
- 'voiceFallbackUrl' => 'anotherUrl',
- 'Status_callback' => 'yetAnotherUrl'
- }
- twilified = {
- :SmsUrl => 'someUrl',
- :VoiceFallbackUrl => 'anotherUrl',
- :StatusCallback => 'yetAnotherUrl'
- }
- expect(twilio.twilify(untwilified)).to eq(twilified)
- end
end