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

test/unit/changeset_test.rb

index 8d0d2a174842b00b3bcfae90eb1ca8fc0edc9611..015bf6c30775613f4cebe9855331be2396e2008f 100644 (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