summaryrefslogtreecommitdiff
path: root/billing/test/functional
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-08-15 12:09:26 -0700
committerjessib <jessib@riseup.net>2013-08-15 12:09:26 -0700
commitd948614d3e2bc190b9c819e961b94c03d7a24fcd (patch)
tree3407cab5a167855668f57edc7a0a2d202ebce2ba /billing/test/functional
parentd0a15a50e1fdf08f2283562453d4e803aa7b31c8 (diff)
Some notes on tests that don't work. (Failing tests are skipped though.)
Diffstat (limited to 'billing/test/functional')
-rw-r--r--billing/test/functional/customer_controller_test.rb1
-rw-r--r--billing/test/functional/customers_controller_test.rb2
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