Ability to add non-member watchers on issue creation (#5159).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-03-24 12:57:28 +00:00
parent e2bb8721d9
commit fae5250e52
12 changed files with 98 additions and 14 deletions
@@ -23,6 +23,10 @@ class RoutingWatchersTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/watchers/new" },
{ :controller => 'watchers', :action => 'new' }
)
assert_routing(
{ :method => 'post', :path => "/watchers/append" },
{ :controller => 'watchers', :action => 'append' }
)
assert_routing(
{ :method => 'post', :path => "/watchers" },
{ :controller => 'watchers', :action => 'create' }