Fixed that updating the issue form was broken by r4011 when user is not allowed to add issues (#13188).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11405 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-02-16 11:35:18 +00:00
parent 1cf09a2d31
commit 7799788b3d
9 changed files with 86 additions and 30 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ class RoutingIssuesTest < ActionController::IntegrationTest
def test_issues_form_update
["post", "put"].each do |method|
assert_routing(
{ :method => method, :path => "/projects/23/issues/new" },
{ :controller => 'issues', :action => 'new', :project_id => '23' }
{ :method => method, :path => "/projects/23/issues/update_form" },
{ :controller => 'issues', :action => 'update_form', :project_id => '23' }
)
end
end