spec/util/url_encode_spec.rb in twilio-ruby-3.12.3 vs spec/util/url_encode_spec.rb in twilio-ruby-3.13.0
- old
+ new
@@ -3,10 +3,10 @@
describe Twilio::Util do
include Twilio::Util
it 'should parse a Date object' do
today = Time.now
- url = url_encode({'DateSent>' => today})
+ url = url_encode('DateSent>' => today)
expect(url).to eq("DateSent%3E=#{today.strftime('%Y-%m-%d')}")
end
end