From a66a50eda249f585ee75b68ace163b02677ead9e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 13 Oct 2012 10:50:19 +0000 Subject: [PATCH] code layout clean up test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields of unit issue test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10638 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index d837f664a..6d5b21408 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -338,7 +338,9 @@ class IssueTest < ActiveSupport::TestCase end def test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields - issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :subject => 'Test', :custom_field_values => {'2' => 'Test'}) + issue = Issue.create!(:project_id => 1, :tracker_id => 1, :author_id => 1, + :status_id => 1, :subject => 'Test', + :custom_field_values => {'2' => 'Test'}) assert !Tracker.find(2).custom_field_ids.include?(2) issue = Issue.find(issue.id) -- 2.39.5