diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-15 14:23:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-15 14:23:06 +0000 |
commit | fb1a2fd7cd4ca7335d660265a32604f6e2006dd6 (patch) | |
tree | 444bf09c5a63e91cc314de7c7e9fd78f93d1ff09 /test/functional/sys_controller_test.rb | |
parent | 6f462d373f1b57657082f22f882942d41df47a39 (diff) | |
download | redmine-fb1a2fd7cd4ca7335d660265a32604f6e2006dd6.tar.gz redmine-fb1a2fd7cd4ca7335d660265a32604f6e2006dd6.zip |
Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/sys_controller_test.rb')
-rw-r--r-- | test/functional/sys_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/sys_controller_test.rb b/test/functional/sys_controller_test.rb index e16c90c1d..97368b200 100644 --- a/test/functional/sys_controller_test.rb +++ b/test/functional/sys_controller_test.rb @@ -84,13 +84,13 @@ class SysControllerTest < ActionController::TestCase end def test_fetch_changesets - Repository::Subversion.any_instance.expects(:fetch_changesets).returns(true) + Repository::Subversion.any_instance.expects(:fetch_changesets).twice.returns(true) get :fetch_changesets assert_response :success end def test_fetch_changesets_one_project - Repository::Subversion.any_instance.expects(:fetch_changesets).returns(true) + Repository::Subversion.any_instance.expects(:fetch_changesets).once.returns(true) get :fetch_changesets, :id => 'ecookbook' assert_response :success end |