summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:05:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:05:36 +0000
commiteb01e6c1de72196ab618d6251652234dbf53074f (patch)
tree7ca916a837929c30dd2d83921357cf956bbe27c1 /test/unit/changeset_test.rb
parent1afcc4cd5b1e3fa0815db3f92f9fca7a4226bf5b (diff)
downloadredmine-eb01e6c1de72196ab618d6251652234dbf53074f.tar.gz
redmine-eb01e6c1de72196ab618d6251652234dbf53074f.zip
scm: add dummy revision at test_ref_keywords_any_only of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6728 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 50adb6ce4..a8d6317b9 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -65,10 +65,10 @@ class ChangesetTest < ActiveSupport::TestCase
def test_ref_keywords_any_only
Setting.commit_ref_keywords = '*'
Setting.commit_fix_keywords = ''
-
c = Changeset.new(:repository => Project.find(1).repository,
:committed_on => Time.now,
- :comments => 'Ignores #2. Refs #1')
+ :comments => 'Ignores #2. Refs #1',
+ :revision => '12345')
c.scan_comment_for_issue_ids
assert_equal [1, 2], c.issue_ids.sort