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