From 7cc5f37eeb6b746e8cb2262056c89bc212d14ef2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 25 Nov 2019 09:08:23 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/IndentFirstArgument in test/unit/user_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19290 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/user_test.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 65f6ba28b..661d8936a 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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 -- 2.39.5