summaryrefslogtreecommitdiffstats
path: root/test/integration/routing
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-07 16:18:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-07 16:18:53 +0000
commitd29638845a9c5d69f9ad6e9ab8c81ed29c808c3f (patch)
tree4fd7f84ee7eb5c3e1bc124ad7193812f24094013 /test/integration/routing
parentdc8fcbaf036981fa08899f8de46afb8a18e4612a (diff)
downloadredmine-d29638845a9c5d69f9ad6e9ab8c81ed29c808c3f.tar.gz
redmine-d29638845a9c5d69f9ad6e9ab8c81ed29c808c3f.zip
Allows project to be changed from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8536 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing')
-rw-r--r--test/integration/routing/issues_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/routing/issues_test.rb b/test/integration/routing/issues_test.rb
index b15c83d3f..cb727b7ac 100644
--- a/test/integration/routing/issues_test.rb
+++ b/test/integration/routing/issues_test.rb
@@ -123,6 +123,11 @@ class RoutingIssuesTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/issues/bulk_edit" },
{ :controller => 'issues', :action => 'bulk_edit' }
)
+ # For updating the bulk edit form
+ assert_routing(
+ { :method => 'post', :path => "/issues/bulk_edit" },
+ { :controller => 'issues', :action => 'bulk_edit' }
+ )
assert_routing(
{ :method => 'post', :path => "/issues/bulk_update" },
{ :controller => 'issues', :action => 'bulk_update' }