diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 12:03:34 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 12:03:34 +0000 |
commit | b21c000f92323aacf61643682eb2da641d650cd0 (patch) | |
tree | 1375211141fcd2075b1f4d091cf510e820da1884 /test/unit/changeset_test.rb | |
parent | c8c0845c672da29650e1ef6eee47c1491b5b2829 (diff) | |
download | redmine-b21c000f92323aacf61643682eb2da641d650cd0.tar.gz redmine-b21c000f92323aacf61643682eb2da641d650cd0.zip |
scm: add dummy revision at test_ref_keywords of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6726 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 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 |