spec/unit/braintree/transaction_spec.rb in braintree-1.1.3 vs spec/unit/braintree/transaction_spec.rb in braintree-1.2.0
- old
+ new
@@ -10,10 +10,10 @@
end
describe "self.create_from_transparent_redirect" do
it "raises an exception if the query string is forged" do
expect do
- Braintree::Transaction.create_from_transparent_redirect("forged=query_string")
+ Braintree::Transaction.create_from_transparent_redirect("http_status=200&forged=query_string")
end.to raise_error(Braintree::ForgedQueryString)
end
end
describe "self.create_transaction_url" do