From d948614d3e2bc190b9c819e961b94c03d7a24fcd Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 15 Aug 2013 12:09:26 -0700 Subject: Some notes on tests that don't work. (Failing tests are skipped though.) --- billing/test/functional/customer_controller_test.rb | 1 + billing/test/functional/customers_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'billing/test/functional') 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 -- cgit v1.2.3