From: Toshi MARUYAMA Date: Mon, 29 Aug 2011 12:09:49 +0000 (+0000) Subject: scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_allow_bracke... X-Git-Tag: 1.3.0~1229 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb27655ad9027be59f73d23300f809a63eda7850;p=redmine.git 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 --- 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