scm: use save instead of scan_comment_for_issue_ids at test_commit_referencing_a_subproject_issue of unit changeset test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6737 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 12:39:50 +00:00
parent 73c8ef296b
commit 707ea877eb
1 changed files with 1 additions and 2 deletions

View File

@ -173,8 +173,7 @@ class ChangesetTest < ActiveSupport::TestCase
:committed_on => Time.now,
:comments => 'refs #5, a subproject issue',
:revision => '12345')
c.scan_comment_for_issue_ids
assert c.save
assert_equal [5], c.issue_ids.sort
assert c.issues.first.project != c.project
end