diff --git a/.rubocop.yml b/.rubocop.yml index fe31ef760..7638e3b15 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -134,7 +134,8 @@ Layout/MultilineBlockLayout: Enabled: true Layout/MultilineHashBraceLayout: - Enabled: false + Enabled: true + EnforcedStyle: new_line Layout/MultilineMethodCallBraceLayout: Enabled: false diff --git a/spec/controllers/gestionnaires/passwords_controller_spec.rb b/spec/controllers/gestionnaires/passwords_controller_spec.rb index a073e1e86..d23fe6623 100644 --- a/spec/controllers/gestionnaires/passwords_controller_spec.rb +++ b/spec/controllers/gestionnaires/passwords_controller_spec.rb @@ -18,11 +18,13 @@ describe Gestionnaires::PasswordsController, type: :controller do end it "also signs user in" do - put :update, params: {gestionnaire: { - reset_password_token: @token, - password: "supersecret", - password_confirmation: "supersecret" - }} + put :update, params: { + gestionnaire: { + reset_password_token: @token, + password: "supersecret", + password_confirmation: "supersecret" + } + } expect(subject.current_gestionnaire).to eq(gestionnaire) expect(subject.current_user).to eq(user) end diff --git a/spec/services/france_connect_service_spec.rb b/spec/services/france_connect_service_spec.rb index 342b8eb2e..c3c1f70b4 100644 --- a/spec/services/france_connect_service_spec.rb +++ b/spec/services/france_connect_service_spec.rb @@ -37,7 +37,8 @@ describe FranceConnectService do birthplace: birthplace, gender: gender, email_france_connect: email, - france_connect_particulier_id: france_connect_particulier_id }) + france_connect_particulier_id: france_connect_particulier_id + }) end end end