@@ -41,7 +41,8 class ChangesetTest < ActiveSupport::TestCase | |||||
41 |
|
41 | |||
42 | c = Changeset.new(:repository => Project.find(1).repository, |
|
42 | c = Changeset.new(:repository => Project.find(1).repository, | |
43 | :committed_on => Time.now, |
|
43 | :committed_on => Time.now, | |
44 |
:comments => 'New commit (#2). Fixes #1' |
|
44 | :comments => 'New commit (#2). Fixes #1', | |
|
45 | :revision => '12345') | |||
45 | c.scan_comment_for_issue_ids |
|
46 | c.scan_comment_for_issue_ids | |
46 |
|
47 | |||
47 | assert_equal [1, 2], c.issue_ids.sort |
|
48 | assert_equal [1, 2], c.issue_ids.sort |
General Comments 0
You need to be logged in to leave comments.
Login now