Makes sys#fetch_changesets accept POST requests (#17077).

git-svn-id: http://svn.redmine.org/redmine/trunk@13392 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-09-13 10:49:31 +00:00
parent 77b0abb79c
commit bc7d39115f
2 changed files with 5 additions and 1 deletions

View File

@@ -31,5 +31,9 @@ class RoutingSysTest < ActionController::IntegrationTest
{ :method => 'get', :path => "/sys/fetch_changesets" },
{ :controller => 'sys', :action => 'fetch_changesets' }
)
assert_routing(
{ :method => 'post', :path => "/sys/fetch_changesets" },
{ :controller => 'sys', :action => 'fetch_changesets' }
)
end
end