Filesystem repository does not have revisions.
So, on Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error
does not raise.
But, replace the same way with other SCMs.
For more details, see r7062.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7164
e93f8b46-1217-0410-a6f0-
8f06a7374b81
if File.directory?(REPOSITORY_PATH)
def test_fetch_changesets
+ assert_equal 0, @repository.changesets.count
+ assert_equal 0, @repository.changes.count
@repository.fetch_changesets
- @repository.reload
+ @project.reload
assert_equal 0, @repository.changesets.count
assert_equal 0, @repository.changes.count
end