]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/project_enumerati...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 05:44:07 +0000 (05:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 05:44:07 +0000 (05:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19238 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/project_enumerations_controller_test.rb

index 71b965096c2ffb565b52392721035c3d4415d9ba..dedff7d3f11234276998a74b57c27c15a30a4eea 100644 (file)
@@ -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