summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:07:17 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:07:17 +0000
commit11a570642b76750de31f61011f171b394a6ea0ee (patch)
tree25614734b8000b2bb4575108aefc8e70fefa9430 /test/unit/changeset_test.rb
parenta61848e973ac47e78927f88ee0ca9ae7c213ff4b (diff)
downloadredmine-11a570642b76750de31f61011f171b394a6ea0ee.tar.gz
redmine-11a570642b76750de31f61011f171b394a6ea0ee.zip
scm: add dummy revision at test_ref_keywords_any_line_start of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6730 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 4778fd2c1..8d7473175 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -140,10 +140,10 @@ class ChangesetTest < ActiveSupport::TestCase
def test_ref_keywords_any_line_start
Setting.commit_ref_keywords = '*'
-
c = Changeset.new(:repository => Project.find(1).repository,
:committed_on => Time.now,
- :comments => '#1 is the reason of this commit')
+ :comments => '#1 is the reason of this commit',
+ :revision => '12345')
c.scan_comment_for_issue_ids
assert_equal [1], c.issue_ids.sort