summaryrefslogtreecommitdiff
path: root/users/test/functional
diff options
context:
space:
mode:
Diffstat (limited to 'users/test/functional')
-rw-r--r--users/test/functional/users_controller_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/users/test/functional/users_controller_test.rb b/users/test/functional/users_controller_test.rb
index 8c584ef..9fb06c9 100644
--- a/users/test/functional/users_controller_test.rb
+++ b/users/test/functional/users_controller_test.rb
@@ -72,8 +72,7 @@ class UsersControllerTest < ActionController::TestCase
assert_access_denied
# when authenticated as admin:
- # TODO: THIS IS failing to login and have admin? return true in users_controller. Will look into it later.
- login :is_admin => true
+ login :is_admin? => true
get :show, :id => nonid
assert_response :redirect
assert_equal({:alert => "No such user."}, flash.to_hash)