summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/billing/test/functional/customers_controller_test.rb6
-rw-r--r--engines/support/test/functional/tickets_controller_test.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/billing/test/functional/customers_controller_test.rb b/engines/billing/test/functional/customers_controller_test.rb
index 46c33c9..cc82fc1 100644
--- a/engines/billing/test/functional/customers_controller_test.rb
+++ b/engines/billing/test/functional/customers_controller_test.rb
@@ -27,11 +27,11 @@ class CustomersControllerTest < ActionController::TestCase
test "no access if not logged in" do
get :new
- assert_access_denied(true, false)
+ assert_login_required
get :show, :id => @customer.braintree_customer_id
- assert_access_denied(true, false)
+ assert_login_required
get :edit, :id => @customer.braintree_customer_id
- assert_access_denied(true, false)
+ assert_login_required
end
diff --git a/engines/support/test/functional/tickets_controller_test.rb b/engines/support/test/functional/tickets_controller_test.rb
index e36f5f6..a7a2011 100644
--- a/engines/support/test/functional/tickets_controller_test.rb
+++ b/engines/support/test/functional/tickets_controller_test.rb
@@ -45,7 +45,7 @@ class TicketsControllerTest < ActionController::TestCase
user = find_record :user
ticket = find_record :ticket, :created_by => user.id
get :show, :id => ticket.id
- assert_login_required
+ assert_access_denied
end
test "user tickets are visible to creator" do