From 856f104031940c8bde9ca79d56673b4d997a7d2e Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 30 Jun 2022 09:30:03 +0000 Subject: Fix RuboCop offense Layout/FirstHashElementIndentation (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@21696 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/users_controller_test.rb | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'test/functional/users_controller_test.rb') diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 40d842607..e753c3873 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -682,16 +682,19 @@ class UsersControllerTest < Redmine::ControllerTest end def test_update_without_generate_password_should_not_change_password - put :update, :params => { - :id => 2, :user => { - :firstname => 'changed', - :generate_password => '0', - :password => '', - :password_confirmation => '' - }, - :send_information => '1' - } - + put( + :update, + :params => { + :id => 2, + :user => { + :firstname => 'changed', + :generate_password => '0', + :password => '', + :password_confirmation => '' + }, + :send_information => '1' + } + ) user = User.find(2) assert_equal 'changed', user.firstname assert user.check_password?('jsmith') -- cgit v1.2.3