scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any_only of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6729 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
eb01e6c1de
commit
a61848e973
|
@ -69,8 +69,7 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
:committed_on => Time.now,
|
:committed_on => Time.now,
|
||||||
:comments => 'Ignores #2. Refs #1',
|
:comments => 'Ignores #2. Refs #1',
|
||||||
:revision => '12345')
|
:revision => '12345')
|
||||||
c.scan_comment_for_issue_ids
|
assert c.save
|
||||||
|
|
||||||
assert_equal [1, 2], c.issue_ids.sort
|
assert_equal [1, 2], c.issue_ids.sort
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue