From 3516cea1d689dc28c76bf25738c52b8f67cadf5b Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
Date: Mon, 29 Aug 2011 12:38:18 +0000
Subject: scm: use save instead of scan_comment_for_issue_ids at
 test_ref_keywords_allow_brackets_around_multiple_issue_numbers of unit
 changeset test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6735 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 test/unit/changeset_test.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'test/unit')

diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb
index 978015a4b..d83f16fb1 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -164,8 +164,7 @@ class ChangesetTest < ActiveSupport::TestCase
                       :committed_on => Time.now,
                       :comments     => '[#1 #2, #3] Worked on these',
                       :revision     => '12345')
-    c.scan_comment_for_issue_ids
-
+    assert c.save
     assert_equal [1,2,3], c.issue_ids.sort
   end
 
-- 
cgit v1.2.3