From: Toshi MARUYAMA Date: Mon, 29 Aug 2011 12:37:37 +0000 (+0000) Subject: scm: add dummy revision at test_ref_keywords_allow_brackets_around_multiple_issue_num... X-Git-Tag: 1.3.0~1228 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=78260c552232b627189a70fd75c18bf09e614628;p=redmine.git scm: add dummy revision 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@6734 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index 015bf6c30..978015a4b 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -160,10 +160,10 @@ class ChangesetTest < ActiveSupport::TestCase def test_ref_keywords_allow_brackets_around_multiple_issue_numbers Setting.commit_ref_keywords = '*' - c = Changeset.new(:repository => Project.find(1).repository, :committed_on => Time.now, - :comments => '[#1 #2, #3] Worked on these') + :comments => '[#1 #2, #3] Worked on these', + :revision => '12345') c.scan_comment_for_issue_ids assert_equal [1,2,3], c.issue_ids.sort