@@ -150,10 +150,10 class ChangesetTest < ActiveSupport::TestCase | |||||
150 |
|
150 | |||
151 | def test_ref_keywords_allow_brackets_around_a_issue_number |
|
151 | def test_ref_keywords_allow_brackets_around_a_issue_number | |
152 | Setting.commit_ref_keywords = '*' |
|
152 | Setting.commit_ref_keywords = '*' | |
153 |
|
||||
154 | c = Changeset.new(:repository => Project.find(1).repository, |
|
153 | c = Changeset.new(:repository => Project.find(1).repository, | |
155 | :committed_on => Time.now, |
|
154 | :committed_on => Time.now, | |
156 |
:comments => '[#1] Worked on this issue' |
|
155 | :comments => '[#1] Worked on this issue', | |
|
156 | :revision => '12345') | |||
157 | c.scan_comment_for_issue_ids |
|
157 | c.scan_comment_for_issue_ids | |
158 |
|
158 | |||
159 | assert_equal [1], c.issue_ids.sort |
|
159 | assert_equal [1], c.issue_ids.sort |
General Comments 0
You need to be logged in to leave comments.
Login now