From 014ff5bda0802d51b4cbca5a2fd904d953223d2f Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 8 Oct 2013 12:32:07 -0700 Subject: Payments made when authenticated will be donations, and not connected to customer in any way. --- billing/test/functional/payments_controller_test.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'billing/test/functional') 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 -- cgit v1.2.3