Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-06-03 11:46:58 +00:00
parent dd9c2cafa7
commit 2cbf9c9cc4
14 changed files with 30 additions and 28 deletions
+2 -2
View File
@@ -62,11 +62,11 @@ class RepositoryFilesystemTest < ActiveSupport::TestCase
if File.directory?(REPOSITORY_PATH)
def test_fetch_changesets
assert_equal 0, @repository.changesets.count
assert_equal 0, @repository.changes.count
assert_equal 0, @repository.filechanges.count
@repository.fetch_changesets
@project.reload
assert_equal 0, @repository.changesets.count
assert_equal 0, @repository.changes.count
assert_equal 0, @repository.filechanges.count
end
def test_entries