summaryrefslogtreecommitdiff
path: root/billing/test
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-08-22 12:21:43 -0700
committerjessib <jessib@riseup.net>2013-08-22 12:21:43 -0700
commit03a643458733550a9bfb5e661e5a74b1964f021c (patch)
treeae13caf971cf13ee9d9109f4f5ac8b98ec8d639a /billing/test
parentd948614d3e2bc190b9c819e961b94c03d7a24fcd (diff)
Some more billing cleanup.
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