diff options
Diffstat (limited to 'test/functional/admin/users_controller_test.rb')
-rw-r--r-- | test/functional/admin/users_controller_test.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/functional/admin/users_controller_test.rb b/test/functional/admin/users_controller_test.rb deleted file mode 100644 index 03976e7..0000000 --- a/test/functional/admin/users_controller_test.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'test_helper' - -class Admin::UsersControllerTest < ActionController::TestCase - test "should work for admins" do - log_in_as :admin - get :index - assert_response :success - end - - test "should not grant access to regular users" do - log_in_as :user - get :index - assert_redirected_to :controller => '/index', :action => 'error', :type => 'access' - end -end |