Skip to content

Commit

Permalink
Fixed broken spec.
Browse files Browse the repository at this point in the history
Braintree::PaymentMethod.delete returns success object instead of boolean
  • Loading branch information
Manjot Sangha committed Jul 28, 2016
1 parent 630217c commit 42ff29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/fake_braintree/payment_method_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def token_for(month, year)

result = Braintree::PaymentMethod.delete(token)

expect(result).to eq true
expect(result).to be_success

expect {
Braintree::PaymentMethod.find(token)
Expand Down

0 comments on commit 42ff29b

Please sign in to comment.