@@ -183,10 +183,10 class ChangesetTest < ActiveSupport::TestCase | |||||
183 | r = Repository::Subversion.create!( |
|
183 | r = Repository::Subversion.create!( | |
184 | :project => Project.find(3), |
|
184 | :project => Project.find(3), | |
185 | :url => 'svn://localhost/test') |
|
185 | :url => 'svn://localhost/test') | |
186 |
|
||||
187 | c = Changeset.new(:repository => r, |
|
186 | c = Changeset.new(:repository => r, | |
188 | :committed_on => Time.now, |
|
187 | :committed_on => Time.now, | |
189 |
:comments => 'refs #2, an issue of a parent project' |
|
188 | :comments => 'refs #2, an issue of a parent project', | |
|
189 | :revision => '12345') | |||
190 | c.scan_comment_for_issue_ids |
|
190 | c.scan_comment_for_issue_ids | |
191 |
|
191 | |||
192 | assert_equal [2], c.issue_ids.sort |
|
192 | assert_equal [2], c.issue_ids.sort |
General Comments 0
You need to be logged in to leave comments.
Login now