From 26bd9a9eb9975e4fc38d27518d54fff581137425 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 29 Aug 2011 10:08:51 +0000 Subject: [PATCH] scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any of unit changeset test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6721 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 705890cfe..69c616e9f 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -43,8 +43,7 @@ class ChangesetTest < ActiveSupport::TestCase :committed_on => Time.now, :comments => 'New commit (#2). Fixes #1', :revision => '12345') - c.scan_comment_for_issue_ids - + assert c.save assert_equal [1, 2], c.issue_ids.sort fixed = Issue.find(1) assert fixed.closed? -- 2.39.5