diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-24 12:57:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-24 12:57:28 +0000 |
commit | fae5250e52506356965a478518aa7960ada3ec61 (patch) | |
tree | 91db93da34e2437bd9b0e9017fb7dd38eb275b30 /test/integration/routing | |
parent | e2bb8721d9e0b41094f7a7c768951235492dc3e4 (diff) | |
download | redmine-fae5250e52506356965a478518aa7960ada3ec61.tar.gz redmine-fae5250e52506356965a478518aa7960ada3ec61.zip |
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
Diffstat (limited to 'test/integration/routing')
-rw-r--r-- | test/integration/routing/watchers_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/watchers_test.rb b/test/integration/routing/watchers_test.rb index 441d2533c..00410289b 100644 --- a/test/integration/routing/watchers_test.rb +++ b/test/integration/routing/watchers_test.rb @@ -24,6 +24,10 @@ class RoutingWatchersTest < ActionController::IntegrationTest { :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' } ) |