summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-11 07:00:09 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-11 07:00:09 +0000
commit4dfa6fc72461c4c880f264355ee4e0a375b1be9a (patch)
tree0b617d3e1d5189266db179dda5fe5d6ab43ed751 /test/integration
parent34310eece6a60322e29ee67e44c7a6f9dfe69ef3 (diff)
downloadredmine-4dfa6fc72461c4c880f264355ee4e0a375b1be9a.tar.gz
redmine-4dfa6fc72461c4c880f264355ee4e0a375b1be9a.zip
Allow manually fetching changesets (#8875).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20772 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/repositories_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/repositories_test.rb b/test/integration/routing/repositories_test.rb
index 74ecf4c1b..6a9ffc84e 100644
--- a/test/integration/routing/repositories_test.rb
+++ b/test/integration/routing/repositories_test.rb
@@ -70,6 +70,10 @@ class RoutingRepositoriesTest < Redmine::RoutingTest
end
end
+ def test_repositories_fetch_changesets_with_repository_id
+ should_route 'POST /projects/foo/repository/bar/fetch_changesets' => 'repositories#fetch_changesets', :id => 'foo', :repository_id => 'bar'
+ end
+
def test_repositories_non_revisions_path_with_repository_id
should_route 'GET /projects/foo/repository/svn/changes' => 'repositories#changes', :id => 'foo', :repository_id => 'svn', :format => 'html'