From 97a4211b037ff7efb4283cbccfa6c735786067aa Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 11 Jan 2014 08:50:07 +0000 Subject: [PATCH] code format cleanup TimelogCustomFieldsVisibilityTest git-svn-id: http://svn.redmine.org/redmine/trunk@12629 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../timelog_custom_fields_visibility_test.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/test/functional/timelog_custom_fields_visibility_test.rb b/test/functional/timelog_custom_fields_visibility_test.rb index c90eadc06..ac21d76ef 100644 --- a/test/functional/timelog_custom_fields_visibility_test.rb +++ b/test/functional/timelog_custom_fields_visibility_test.rb @@ -97,10 +97,15 @@ class TimelogCustomFieldsVisibilityTest < ActionController::TestCase user = User.generate! User.add_to_project(user, p1, Role.find_all_by_id(1,3)) User.add_to_project(user, p2, Role.find_all_by_id(3)) - TimeEntry.generate!(:issue => Issue.generate!(:project => p1, :tracker_id => 1, :custom_field_values => {@field2.id => 'ValueA'})) - TimeEntry.generate!(:issue => Issue.generate!(:project => p2, :tracker_id => 1, :custom_field_values => {@field2.id => 'ValueB'})) - TimeEntry.generate!(:issue => Issue.generate!(:project => p1, :tracker_id => 1, :custom_field_values => {@field2.id => 'ValueC'})) - + TimeEntry.generate!( + :issue => Issue.generate!(:project => p1, :tracker_id => 1, + :custom_field_values => {@field2.id => 'ValueA'})) + TimeEntry.generate!( + :issue => Issue.generate!(:project => p2, :tracker_id => 1, + :custom_field_values => {@field2.id => 'ValueB'})) + TimeEntry.generate!( + :issue => Issue.generate!(:project => p1, :tracker_id => 1, + :custom_field_values => {@field2.id => 'ValueC'})) @request.session[:user_id] = user.id get :index, :c => ["hours", "issue.cf_#{@field2.id}"] assert_select 'td', :text => 'ValueA'