summaryrefslogtreecommitdiffstats
path: root/test/functional/watchers_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-03 15:09:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-03 15:09:20 +0000
commitb3866b05c14bd0f1fff4c54051f522e03e2bec36 (patch)
treec7248ef2b6cd4d22ec7bfaae11cf6815afdc8f64 /test/functional/watchers_controller_test.rb
parentbf8f8545461e5aeb1d2b1ddc1b4bf861ee5c2f9c (diff)
downloadredmine-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/watchers_controller_test.rb')
-rw-r--r--test/functional/watchers_controller_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/functional/watchers_controller_test.rb b/test/functional/watchers_controller_test.rb
index c8345a833..bfd93fe0d 100644
--- a/test/functional/watchers_controller_test.rb
+++ b/test/functional/watchers_controller_test.rb
@@ -32,12 +32,6 @@ class WatchersControllerTest < ActionController::TestCase
User.current = nil
end
- def test_get_watch_should_be_invalid
- @request.session[:user_id] = 3
- get :watch, :object_type => 'issue', :object_id => '1'
- assert_response 405
- end
-
def test_watch
@request.session[:user_id] = 3
assert_difference('Watcher.count') do