diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-09-13 10:49:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-09-13 10:49:31 +0000 |
commit | bc7d39115fc517f479ce5b81a632c76450fa2241 (patch) | |
tree | 18719209436dd24e1beb24a36baeaa52602cb6e7 /test | |
parent | 77b0abb79cb81ae1f4bbbe3c2e5a2f78631b09a8 (diff) | |
download | redmine-bc7d39115fc517f479ce5b81a632c76450fa2241.tar.gz redmine-bc7d39115fc517f479ce5b81a632c76450fa2241.zip |
Makes sys#fetch_changesets accept POST requests (#17077).
git-svn-id: http://svn.redmine.org/redmine/trunk@13392 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/routing/sys_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/sys_test.rb b/test/integration/routing/sys_test.rb index 1f69ddcc4..6b9afe63b 100644 --- a/test/integration/routing/sys_test.rb +++ b/test/integration/routing/sys_test.rb @@ -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 |