From: Jean-Philippe Lang Date: Sun, 15 Jul 2012 14:13:48 +0000 (+0000) Subject: Routing tests for r9977. X-Git-Tag: 2.1.0~338 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=004a13b75ca11bef88327213eaf84082f234334c;p=redmine.git Routing tests for r9977. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9978 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 @@ -29,6 +29,12 @@ class RoutingWorkflowsTest < ActionController::IntegrationTest { :controller => 'workflows', :action => 'edit' } ) 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" },