diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-22 16:52:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-22 16:52:36 +0000 |
commit | b30b6717a271f06290c07479b7e26446f039e4df (patch) | |
tree | d82ff9611faeef92d286e756d2448236ce094093 /test/unit | |
parent | cedca57620e36fc8deb22653e91ef3e63fe63cf2 (diff) | |
download | redmine-b30b6717a271f06290c07479b7e26446f039e4df.tar.gz redmine-b30b6717a271f06290c07479b7e26446f039e4df.zip |
Commit message parser:
* Fixed: Error when parsing a commit message with duplicate issue identifiers
* Strip referencing and fixing keywords
git-svn-id: http://redmine.rubyforge.org/svn/trunk@861 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/repository_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index ea2122aa7..b802403f5 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -40,6 +40,8 @@ class RepositoryTest < Test::Unit::TestCase # choosing a status to apply to fix issues Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id Setting.commit_fix_done_ratio = "90" + Setting.commit_ref_keywords = 'refs , references, IssueID' + Setting.commit_fix_keywords = 'fixes , closes' # make sure issue 1 is not already closed assert !Issue.find(1).status.is_closed? |