summaryrefslogtreecommitdiff
path: root/billing/test/functional/payments_controller_test.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-10-08 12:32:07 -0700
committerjessib <jessib@riseup.net>2013-10-08 12:32:07 -0700
commit014ff5bda0802d51b4cbca5a2fd904d953223d2f (patch)
tree96846abbd1ba30d365affe4891d2cfaea3176191 /billing/test/functional/payments_controller_test.rb
parenteaedf19e2e54ccb9933caa8dc21df13e48609b18 (diff)
Payments made when authenticated will be donations, and not connected to customer in any way.
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