spec/unit/braintree/error_result_spec.rb in braintree-4.18.0 vs spec/unit/braintree/error_result_spec.rb in braintree-4.19.0
- old
+ new
@@ -3,10 +3,10 @@
describe Braintree::ErrorResult do
describe "initialize" do
it "ignores data other than params, errors, and message" do
# so that we can add more data into the response in the future without breaking the client lib
expect do
- result = Braintree::ErrorResult.new(
+ Braintree::ErrorResult.new(
:gateway,
:params => "params",
:errors => {:errors => []},
:extra => "is ignored",
:message => "foo bar",