##// END OF EJS Templates
scm: add dummy revision at test_ref_keywords of unit changeset test....
Toshi MARUYAMA -
r6606:b21c000f9232
parent child
Show More
@@ -54,10 +54,10 class ChangesetTest < ActiveSupport::TestCase
54 def test_ref_keywords
54 def test_ref_keywords
55 Setting.commit_ref_keywords = 'refs'
55 Setting.commit_ref_keywords = 'refs'
56 Setting.commit_fix_keywords = ''
56 Setting.commit_fix_keywords = ''
57
58 c = Changeset.new(:repository => Project.find(1).repository,
57 c = Changeset.new(:repository => Project.find(1).repository,
59 :committed_on => Time.now,
58 :committed_on => Time.now,
60 :comments => 'Ignores #2. Refs #1')
59 :comments => 'Ignores #2. Refs #1',
60 :revision => '12345')
61 c.scan_comment_for_issue_ids
61 c.scan_comment_for_issue_ids
62
62
63 assert_equal [1], c.issue_ids.sort
63 assert_equal [1], c.issue_ids.sort
General Comments 0
You need to be logged in to leave comments. Login now