spec/unit/braintree/util_spec.rb in braintree-2.13.2 vs spec/unit/braintree/util_spec.rb in braintree-2.13.3
- old
+ new
@@ -255,6 +255,12 @@
describe "self.url_encode" do
it "url encodes the given text" do
Braintree::Util.url_encode("foo?bar").should == "foo%3Fbar"
end
end
+
+ describe "self.url_decode" do
+ it "url encodes the given text" do
+ Braintree::Util.url_decode("foo%3Fbar").should == "foo?bar"
+ end
+ end
end