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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6733 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 12:09:49 +00:00
parent c26be908bf
commit cb27655ad9
1 changed files with 1 additions and 2 deletions

View File

@ -154,8 +154,7 @@ class ChangesetTest < ActiveSupport::TestCase
:committed_on => Time.now,
:comments => '[#1] Worked on this issue',
:revision => '12345')
c.scan_comment_for_issue_ids
assert c.save
assert_equal [1], c.issue_ids.sort
end