]> source.dussan.org Git - redmine.git/commitdiff
scm: use save instead of scan_comment_for_issue_ids at test_commit_referencing_a_pare...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 29 Aug 2011 12:41:27 +0000 (12:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 29 Aug 2011 12:41:27 +0000 (12:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6739 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/changeset_test.rb

index d9fc412cb8ebd3b24a07db932ff35dae92b617d4..cee7d4fd652f58f83f0481ac26513fff5d5a8087 100644 (file)
@@ -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