Add one more assertion to delete_discount test

This commit is contained in:
Evan Broder 2012-05-04 22:52:10 -07:00
parent 065f2316c7
commit e69407fa3c

View File

@ -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