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

test/unit/changeset_test.rb

index 8d7473175b26e398359fb6ba0bcbb2350fe39a45..3760c1e67cbe1c5c1519409ee5a54b511ded16b1 100644 (file)
@@ -144,8 +144,7 @@ class ChangesetTest < ActiveSupport::TestCase
                       :committed_on => Time.now,
                       :comments     => '#1 is the reason of this commit',
                       :revision     => '12345')
-    c.scan_comment_for_issue_ids
-
+    assert c.save
     assert_equal [1], c.issue_ids.sort
   end