]> source.dussan.org Git - redmine.git/commit
Rails3: scm: filesystem: replace @repository.reload to @project.reload of test_fetch_...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 12 Sep 2011 10:03:09 +0000 (10:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 12 Sep 2011 10:03:09 +0000 (10:03 +0000)
commit3b6c6a67803b16a77e3fe1aacee1c1b414ab124f
tree4fab28b621b643ac927cc843c45d622a16a866bd
parent4361ee9fc5665b3b8e48bbbe2c797fdbf50a6ac8
Rails3: scm: filesystem: replace @repository.reload to @project.reload of test_fetch_changesets at unit model test

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
test/unit/repository_filesystem_test.rb