From 03a643458733550a9bfb5e661e5a74b1964f021c Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 22 Aug 2013 12:21:43 -0700 Subject: Some more billing cleanup. --- billing/test/integration/customer_creation_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'billing/test') 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 -- cgit v1.2.3