Skip to content

Commit

Permalink
Merge pull request beam-community#59 from gmile/fix-uri-test
Browse files Browse the repository at this point in the history
Fix test for Stripe.URI
  • Loading branch information
robconery authored Aug 3, 2016
2 parents c2f6ae3 + 77a505c commit c159045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe/uri.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule Stripe.URI do
Enumerable.impl_for(value) ->
pair(root, parents ++ [key], value)
true ->
build_key(root, parents ++ [key]) <> to_string(value)
build_key(root, parents ++ [key]) <> URI.encode_www_form(to_string(value))
end
end
end
Expand Down

0 comments on commit c159045

Please sign in to comment.