diff options
Diffstat (limited to 'test')
-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 69c616e9f..902fad3bd 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -54,10 +54,10 @@ class ChangesetTest < ActiveSupport::TestCase def test_ref_keywords Setting.commit_ref_keywords = 'refs' Setting.commit_fix_keywords = '' - c = Changeset.new(:repository => Project.find(1).repository, :committed_on => Time.now, - :comments => 'Ignores #2. Refs #1') + :comments => 'Ignores #2. Refs #1', + :revision => '12345') c.scan_comment_for_issue_ids assert_equal [1], c.issue_ids.sort |