]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of test/unit/project_nested_set_concurrency_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:58:43 +0000 (13:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:58:43 +0000 (13:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20565 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_nested_set_concurrency_test.rb

index 7db4b2196ea9f9c41a3b4a70a99d800815fef0a5..624887a599c6a9bca827094e8c5efc052088172e 100644 (file)
@@ -68,12 +68,14 @@ class ProjectNestedSetConcurrencyTest < ActiveSupport::TestCase
   # Generates a bare project with random name
   # and identifier
   def generate_project!(attributes={})
-    identifier = "a"+Redmine::Utils.random_hex(6)
-    Project.generate!({
+    identifier = "a" + Redmine::Utils.random_hex(6)
+    Project.generate!(
+      {
         :identifier => identifier,
         :name => identifier,
         :tracker_ids => [],
         :enabled_module_names => []
-      }.merge(attributes))
+      }.merge(attributes)
+    )
   end
 end