From db67eff91343d7f4d1a93985ae819a86e1b4eb67 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 13 Oct 2012 10:15:59 +0000 Subject: [PATCH] code layout clean up test_journalized_multi_custom_field of unit issue test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10636 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 8671f1c5d..d837f664a 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1384,10 +1384,14 @@ class IssueTest < ActiveSupport::TestCase end def test_journalized_multi_custom_field - field = IssueCustomField.create!(:name => 'filter', :field_format => 'list', :is_filter => true, :is_for_all => true, - :tracker_ids => [1], :possible_values => ['value1', 'value2', 'value3'], :multiple => true) - - issue = Issue.create!(:project_id => 1, :tracker_id => 1, :subject => 'Test', :author_id => 1) + field = IssueCustomField.create!(:name => 'filter', :field_format => 'list', + :is_filter => true, :is_for_all => true, + :tracker_ids => [1], + :possible_values => ['value1', 'value2', 'value3'], + :multiple => true) + + issue = Issue.create!(:project_id => 1, :tracker_id => 1, + :subject => 'Test', :author_id => 1) assert_difference 'Journal.count' do assert_difference 'JournalDetail.count' do -- 2.39.5