From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 05:44:07 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/project_enumerati... X-Git-Tag: 4.2.0~1402 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc8b4aa65c7548a203b5e1c847b229d3a12d7fb0;p=redmine.git 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 --- 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