diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-12 02:42:49 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-12 02:42:49 +0000 |
commit | 8cdc216c59b2b2e9b67352ca514b185b793a0101 (patch) | |
tree | 9cfc03d56a2f925247cc1272ba5fdb91007ab6b0 /test/unit/repository_cvs_test.rb | |
parent | 1aa077b48895bc611e7d82fc7cbbf5a17dfeceec (diff) | |
download | redmine-8cdc216c59b2b2e9b67352ca514b185b793a0101.tar.gz redmine-8cdc216c59b2b2e9b67352ca514b185b793a0101.zip |
Rails3: scm: cvs: fix error of test_fetch_changesets_from_scratch at unit model test
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7131 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r-- | test/unit/repository_cvs_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index d10e99a25..855238563 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -39,7 +39,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase def test_fetch_changesets_from_scratch assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload assert_equal CHANGESETS_NUM, @repository.changesets.count assert_equal 16, @repository.changes.count |