mirror of
https://github.com/redmine/redmine.git
synced 2024-09-13 15:45:44 +02:00
scm: use save instead of scan_comment_for_issue_ids at test_commit_referencing_a_parent_project_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6739 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7f0e81835c
commit
1941f2b875
@ -187,8 +187,7 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||
:committed_on => Time.now,
|
||||
:comments => 'refs #2, an issue of a parent project',
|
||||
:revision => '12345')
|
||||
c.scan_comment_for_issue_ids
|
||||
|
||||
assert c.save
|
||||
assert_equal [2], c.issue_ids.sort
|
||||
assert c.issues.first.project != c.project
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user