summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-18 07:38:13 +0100
committerAzul <azul@leap.se>2013-01-18 07:38:13 +0100
commit444dbca4054ccfb7a82bb4df2a6369959ef6c9b2 (patch)
tree117e8f2005a0b365faa5c78f07680b5bf652f86b /users
parentcce882a42cc0c139b75d932ea8ee42525e4fdb32 (diff)
minor: smalles fix ever - is_admin? has a questionmark
Diffstat (limited to 'users')
-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)