From fc8b4aa65c7548a203b5e1c847b229d3a12d7fb0 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 05:44:07 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/project_enumerations_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19238 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../project_enumerations_controller_test.rb | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index 71b965096..dedff7d3f 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -256,15 +256,23 @@ class ProjectEnumerationsControllerTest < Redmine::ControllerTest assert_redirected_to '/projects/ecookbook/settings/activities' assert_nil TimeEntryActivity.find_by_id(project_activity.id) - assert_equal 0, TimeEntry.where( - :activity_id => project_activity.id, - :project_id => 1 - ).count, - "TimeEntries still assigned to project specific activity" - assert_equal 3, TimeEntry.where( - :activity_id => 9, - :project_id => 1 - ).count, - "TimeEntries still assigned to project specific activity" + assert_equal( + 0, + TimeEntry. + where( + :activity_id => project_activity.id, + :project_id => 1 + ).count, + "TimeEntries still assigned to project specific activity" + ) + assert_equal( + 3, + TimeEntry. + where( + :activity_id => 9, + :project_id => 1 + ).count, + "TimeEntries still assigned to project specific activity" + ) end end -- 2.39.5