@@ -140,10 +140,10 class ChangesetTest < ActiveSupport::TestCase | |||||
140 |
|
140 | |||
141 | def test_ref_keywords_any_line_start |
|
141 | def test_ref_keywords_any_line_start | |
142 | Setting.commit_ref_keywords = '*' |
|
142 | Setting.commit_ref_keywords = '*' | |
143 |
|
||||
144 | c = Changeset.new(:repository => Project.find(1).repository, |
|
143 | c = Changeset.new(:repository => Project.find(1).repository, | |
145 | :committed_on => Time.now, |
|
144 | :committed_on => Time.now, | |
146 |
:comments => '#1 is the reason of this commit' |
|
145 | :comments => '#1 is the reason of this commit', | |
|
146 | :revision => '12345') | |||
147 | c.scan_comment_for_issue_ids |
|
147 | c.scan_comment_for_issue_ids | |
148 |
|
148 | |||
149 | assert_equal [1], c.issue_ids.sort |
|
149 | assert_equal [1], c.issue_ids.sort |
General Comments 0
You need to be logged in to leave comments.
Login now