@@ -160,10 +160,10 class ChangesetTest < ActiveSupport::TestCase | |||
|
160 | 160 | |
|
161 | 161 | def test_ref_keywords_allow_brackets_around_multiple_issue_numbers |
|
162 | 162 | Setting.commit_ref_keywords = '*' |
|
163 | ||
|
164 | 163 | c = Changeset.new(:repository => Project.find(1).repository, |
|
165 | 164 | :committed_on => Time.now, |
|
166 |
:comments => '[#1 #2, #3] Worked on these' |
|
|
165 | :comments => '[#1 #2, #3] Worked on these', | |
|
166 | :revision => '12345') | |
|
167 | 167 | c.scan_comment_for_issue_ids |
|
168 | 168 | |
|
169 | 169 | assert_equal [1,2,3], c.issue_ids.sort |
General Comments 0
You need to be logged in to leave comments.
Login now