summaryrefslogtreecommitdiffstats
path: root/test/functional/sys_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/sys_controller_test.rb')
-rw-r--r--test/functional/sys_controller_test.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/functional/sys_controller_test.rb b/test/functional/sys_controller_test.rb
index 59b1d2af6..187fbe410 100644
--- a/test/functional/sys_controller_test.rb
+++ b/test/functional/sys_controller_test.rb
@@ -53,4 +53,19 @@ class SysControllerTest < ActionController::TestCase
assert r.is_a?(Repository::Subversion)
assert_equal 'file:///create/project/repository/subproject2', r.url
end
+
+ def test_fetch_changesets
+ get :fetch_changesets
+ assert_response :success
+ end
+
+ def test_fetch_changesets_one_project
+ get :fetch_changesets, :id => 'ecookbook'
+ assert_response :success
+ end
+
+ def test_fetch_changesets_unknown_project
+ get :fetch_changesets, :id => 'unknown'
+ assert_response 404
+ end
end