diff options
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r-- | test/unit/changeset_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index 015bf6c30..978015a4b 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -160,10 +160,10 @@ class ChangesetTest < ActiveSupport::TestCase def test_ref_keywords_allow_brackets_around_multiple_issue_numbers Setting.commit_ref_keywords = '*' - c = Changeset.new(:repository => Project.find(1).repository, :committed_on => Time.now, - :comments => '[#1 #2, #3] Worked on these') + :comments => '[#1 #2, #3] Worked on these', + :revision => '12345') c.scan_comment_for_issue_ids assert_equal [1,2,3], c.issue_ids.sort |