Commit 300ab09b authored by tmaruyama's avatar tmaruyama

Rails3: scm: cvs: fix error of test_annotate at unit model test

On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e42f866f
......@@ -149,8 +149,10 @@ class RepositoryCvsTest < ActiveSupport::TestCase
def test_annotate
assert_equal 0, @repository.changesets.count
assert_equal CHANGESETS_NUM, @repository.changesets.count
ann = @repository.annotate('README')
assert ann
assert_equal 3, ann.revisions.length
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment