summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 14:13:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 14:13:48 +0000
commit004a13b75ca11bef88327213eaf84082f234334c (patch)
tree7b4871c46f3f19b58da1bc69abee1ce80b1e340e
parentd7b669e50b1c863b748231dc8fb66a692a33cdd1 (diff)
downloadredmine-004a13b75ca11bef88327213eaf84082f234334c.tar.gz
redmine-004a13b75ca11bef88327213eaf84082f234334c.zip
Routing tests for r9977.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9978 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/integration/routing/workflows_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/routing/workflows_test.rb b/test/integration/routing/workflows_test.rb
index a6adcc86c..29c94d87d 100644
--- a/test/integration/routing/workflows_test.rb
+++ b/test/integration/routing/workflows_test.rb
@@ -31,6 +31,12 @@ class RoutingWorkflowsTest < ActionController::IntegrationTest
end
["get", "post"].each do |method|
assert_routing(
+ { :method => method, :path => "/workflows/permissions" },
+ { :controller => 'workflows', :action => 'permissions' }
+ )
+ end
+ ["get", "post"].each do |method|
+ assert_routing(
{ :method => method, :path => "/workflows/copy" },
{ :controller => 'workflows', :action => 'copy' }
)