Enable the Layout/MultilineHashBraceLayout cop
This commit is contained in:
parent
9d75526460
commit
5077e654f2
3 changed files with 11 additions and 7 deletions
|
@ -134,7 +134,8 @@ Layout/MultilineBlockLayout:
|
|||
Enabled: true
|
||||
|
||||
Layout/MultilineHashBraceLayout:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
EnforcedStyle: new_line
|
||||
|
||||
Layout/MultilineMethodCallBraceLayout:
|
||||
Enabled: false
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue