code format cleanup RepositoryTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12560 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-09 05:09:28 +00:00
parent 205e727565
commit 01e22fc4b8
1 changed files with 3 additions and 2 deletions

View File

@ -202,10 +202,11 @@ class RepositoryTest < ActiveSupport::TestCase
def test_scan_changesets_for_issue_ids def test_scan_changesets_for_issue_ids
Setting.default_language = 'en' Setting.default_language = 'en'
Setting.commit_ref_keywords = 'refs , references, IssueID' Setting.commit_ref_keywords = 'refs , references, IssueID'
Setting.commit_update_keywords = [ Setting.commit_update_keywords = [
{'keywords' => 'fixes , closes', 'status_id' => IssueStatus.where(:is_closed => true).first.id, 'done_ratio' => '90'} {'keywords' => 'fixes , closes',
'status_id' => IssueStatus.where(:is_closed => true).first.id,
'done_ratio' => '90'}
] ]
Setting.default_language = 'en' Setting.default_language = 'en'
ActionMailer::Base.deliveries.clear ActionMailer::Base.deliveries.clear