Fix DEPRECATION WARNING for spec/controllers/gestionnaires/*.rb
This commit is contained in:
parent
0fc81eb0da
commit
15e1bef7e4
1 changed files with 2 additions and 2 deletions
|
@ -17,11 +17,11 @@ describe Gestionnaires::PasswordsController, type: :controller do
|
|||
end
|
||||
|
||||
it "also signs user in" do
|
||||
put :update, gestionnaire: {
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue