summaryrefslogtreecommitdiff
path: root/billing/test/functional/payments_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'billing/test/functional/payments_controller_test.rb')
-rw-r--r--billing/test/functional/payments_controller_test.rb15
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