1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-03 22:29:39 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-25 09:08:23 +00:00
parent ed20805df5
commit 7cc5f37eeb

View 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