diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-03 15:09:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-03 15:09:20 +0000 |
commit | b3866b05c14bd0f1fff4c54051f522e03e2bec36 (patch) | |
tree | c7248ef2b6cd4d22ec7bfaae11cf6815afdc8f64 /test/functional/users_controller_test.rb | |
parent | bf8f8545461e5aeb1d2b1ddc1b4bf861ee5c2f9c (diff) | |
download | redmine-b3866b05c14bd0f1fff4c54051f522e03e2bec36.tar.gz redmine-b3866b05c14bd0f1fff4c54051f522e03e2bec36.zip |
Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/users_controller_test.rb')
-rw-r--r-- | test/functional/users_controller_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 3fc224d01..6adfc2757 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -289,13 +289,6 @@ class UsersControllerTest < ActionController::TestCase assert_nil User.find_by_id(2) end - def test_destroy_should_not_accept_get_requests - assert_no_difference 'User.count' do - get :destroy, :id => 2 - end - assert_response 405 - end - def test_destroy_should_be_denied_for_non_admin_users @request.session[:user_id] = 3 |