mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Add one more assertion to delete_discount test
This commit is contained in:
parent
065f2316c7
commit
e69407fa3c
@ -320,6 +320,7 @@ class TestStripeRuby < Test::Unit::TestCase
|
||||
|
||||
@mock.expects(:delete).once.with("https://api.stripe.com/v1/customers/c_test_customer/discount", nil, nil).returns(test_response(test_delete_discount_response))
|
||||
s = c.delete_discount
|
||||
assert_equal nil, c.discount
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user