summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_cvs_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-12 02:43:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-12 02:43:19 +0000
commit3437adbf52fea095cab5b772fde222de174f0a6a (patch)
treec7195f13ef9f3e5ec5fb45e89f26d7174703099a /test/unit/repository_cvs_test.rb
parent8cdc216c59b2b2e9b67352ca514b185b793a0101 (diff)
downloadredmine-3437adbf52fea095cab5b772fde222de174f0a6a.tar.gz
redmine-3437adbf52fea095cab5b772fde222de174f0a6a.zip
Rails3: scm: cvs: fix error of test_deleted_files_should_not_be_listed 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@7132 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r--test/unit/repository_cvs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index 855238563..b7047206c 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -82,7 +82,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
def test_deleted_files_should_not_be_listed
assert_equal 0, @repository.changesets.count
@repository.fetch_changesets
- @repository.reload
+ @project.reload
assert_equal CHANGESETS_NUM, @repository.changesets.count
entries = @repository.entries('sources')