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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user