From cb27655ad9027be59f73d23300f809a63eda7850 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 29 Aug 2011 12:09:49 +0000 Subject: [PATCH] scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_allow_brackets_around_a_issue_number of unit changeset test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6733 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/changeset_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index 8d0d2a174..015bf6c30 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -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 -- 2.39.5