diff options
Diffstat (limited to 'billing/test/functional')
-rw-r--r-- | billing/test/functional/customer_controller_test.rb | 1 | ||||
-rw-r--r-- | billing/test/functional/customers_controller_test.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/billing/test/functional/customer_controller_test.rb b/billing/test/functional/customer_controller_test.rb index d7f221e..d62ee95 100644 --- a/billing/test/functional/customer_controller_test.rb +++ b/billing/test/functional/customer_controller_test.rb @@ -69,6 +69,7 @@ class CustomerControllerTest < ActionController::TestCase skip "can't get user creation to fail" login FakeBraintree.decline_all_cards! + # what is prepare_confirmation ?? this method isn't found to_confirm = prepare_confirmation :create_customer_data, customer: FactoryGirl.attributes_for(:broken_customer), redirect_url: confirm_customer_url diff --git a/billing/test/functional/customers_controller_test.rb b/billing/test/functional/customers_controller_test.rb index 02b3424..d4881bf 100644 --- a/billing/test/functional/customers_controller_test.rb +++ b/billing/test/functional/customers_controller_test.rb @@ -45,7 +45,7 @@ class CustomersControllerTest < ActionController::TestCase login @other_user get :new assert_response :redirect - assert_equal edit_customer_url(@customer.user), response.header['Location'] #todo should pass user not customer + assert_equal edit_customer_url(@customer.user), response.header['Location'] end |