]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstArgument in test/unit/user_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 09:08:23 +0000 (09:08 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 09:08:23 +0000 (09:08 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19290 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/user_test.rb

index 65f6ba28bfb653c1c9324cc8c11d693469882d58..661d8936a474ffc9e61f8c9a29bba0032313c0ad 100644 (file)
@@ -766,9 +766,12 @@ class UserTest < ActiveSupport::TestCase
     anon1 = User.anonymous
     assert !anon1.new_record?
     assert_kind_of AnonymousUser, anon1
-    anon2 = AnonymousUser.create(
-                :lastname => 'Anonymous', :firstname => '',
-                :login => '', :status => 0)
+    anon2 =
+      AnonymousUser.
+        create(
+          :lastname => 'Anonymous', :firstname => '',
+          :login => '', :status => 0
+        )
     assert_equal 1, anon2.errors.count
   end