]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/AlignArguments in test/unit/project_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 23 Oct 2019 13:27:22 +0000 (13:27 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 23 Oct 2019 13:27:22 +0000 (13:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18856 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index a70a793ca10a9720e26bd527c79c82c133953e3a..de4b632e890649135d8af0525a054e1946bee09c 100644 (file)
@@ -522,7 +522,7 @@ class ProjectTest < ActiveSupport::TestCase
     parent_version_1 = Version.generate!(:project => project)
     parent_version_2 = Version.generate!(:project => project)
     assert_equal [parent_version_1, parent_version_2].sort,
-      project.rolled_up_versions.sort
+                 project.rolled_up_versions.sort
   end
 
   test "#rolled_up_versions should include versions for a subproject" do
@@ -533,7 +533,7 @@ class ProjectTest < ActiveSupport::TestCase
     subproject_version = Version.generate!(:project => subproject)
 
     assert_equal [parent_version_1, parent_version_2, subproject_version].sort,
-      project.rolled_up_versions.sort
+                 project.rolled_up_versions.sort
   end
 
   test "#rolled_up_versions should include versions for a sub-subproject" do
@@ -546,7 +546,7 @@ class ProjectTest < ActiveSupport::TestCase
     project.reload
 
     assert_equal [parent_version_1, parent_version_2, sub_subproject_version].sort,
-      project.rolled_up_versions.sort
+                 project.rolled_up_versions.sort
   end
 
   test "#rolled_up_versions should only check active projects" do
@@ -560,7 +560,7 @@ class ProjectTest < ActiveSupport::TestCase
 
     assert !subproject.active?
     assert_equal [parent_version_1, parent_version_2].sort,
-      project.rolled_up_versions.sort
+                 project.rolled_up_versions.sort
   end
 
   def test_shared_versions_none_sharing