diff options
author | jessib <jessib@riseup.net> | 2013-10-08 12:32:07 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-10-08 12:32:07 -0700 |
commit | 014ff5bda0802d51b4cbca5a2fd904d953223d2f (patch) | |
tree | 96846abbd1ba30d365affe4891d2cfaea3176191 /billing/test | |
parent | eaedf19e2e54ccb9933caa8dc21df13e48609b18 (diff) |
Payments made when authenticated will be donations, and not connected to customer in any way.
Diffstat (limited to 'billing/test')
-rw-r--r-- | billing/test/functional/payments_controller_test.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/billing/test/functional/payments_controller_test.rb b/billing/test/functional/payments_controller_test.rb index 655aa16..90b7582 100644 --- a/billing/test/functional/payments_controller_test.rb +++ b/billing/test/functional/payments_controller_test.rb @@ -10,21 +10,6 @@ class PaymentsControllerTest < ActionController::TestCase assert_response :success end - test "authenticated user must create account before making payment" do - login - get :new - assert_response :redirect - assert_equal new_customer_url, response.header['Location'] - end - - test "payment when authenticated as customer" do - customer = stub_customer - login customer.user - get :new - assert_not_nil assigns(:tr_data) - assert_response :success - end - test "successful confirmation renders confirm" do Braintree::TransparentRedirect.expects(:confirm).returns(success_response) get :confirm |