summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-13 10:15:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-13 10:15:59 +0000
commitdb67eff91343d7f4d1a93985ae819a86e1b4eb67 (patch)
treeed111be9cf18b712aa990bdfbe569f2e9beafeb1
parent756adebb960283b0cf8207472d3114fd52a505f8 (diff)
downloadredmine-db67eff91343d7f4d1a93985ae819a86e1b4eb67.tar.gz
redmine-db67eff91343d7f4d1a93985ae819a86e1b4eb67.zip
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
-rw-r--r--test/unit/issue_test.rb12
1 files 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