summaryrefslogtreecommitdiff
path: root/billing/test
diff options
context:
space:
mode:
Diffstat (limited to 'billing/test')
-rw-r--r--billing/test/integration/customer_creation_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/billing/test/integration/customer_creation_test.rb b/billing/test/integration/customer_creation_test.rb
index 9555ef1..5e3734c 100644
--- a/billing/test/integration/customer_creation_test.rb
+++ b/billing/test/integration/customer_creation_test.rb
@@ -59,10 +59,12 @@ class CustomerCreationTest < ActionDispatch::IntegrationTest
skip "cannot get customer creation to fail"
FakeBraintree.decline_all_cards!
+
response = post_transparent_redirect :create_customer_data,
customer: FactoryGirl.attributes_for(:broken_customer),
redirect_url: confirm_customer_url
+ assert FakeBraintree.decline_all_cards?
assert_no_difference("Customer.count") do
post response['Location'] #this gives me a timeout when run alone
end