summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:37:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:37:37 +0000
commit78260c552232b627189a70fd75c18bf09e614628 (patch)
tree50d93e131ca79a3e55c244d48bceec87725eb632 /test/unit/changeset_test.rb
parentcb27655ad9027be59f73d23300f809a63eda7850 (diff)
downloadredmine-78260c552232b627189a70fd75c18bf09e614628.tar.gz
redmine-78260c552232b627189a70fd75c18bf09e614628.zip
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
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r--test/unit/changeset_test.rb4
1 files changed, 2 insertions, 2 deletions
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