mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13731 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -459,4 +459,10 @@ class RepositoryTest < ActiveSupport::TestCase
|
||||
expected = {"Dave Lopper"=>{:commits_count=>11, :changes_count=>3}}
|
||||
assert_equal expected, repository.stats_by_author
|
||||
end
|
||||
|
||||
def test_fetch_changesets
|
||||
# 2 repositories in fixtures
|
||||
Repository::Subversion.any_instance.expects(:fetch_changesets).twice.returns(true)
|
||||
Repository.fetch_changesets
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user