Fix admin procedure controller spec
This commit is contained in:
parent
21f58c0725
commit
0706d59793
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ describe Admin::ProceduresController, type: :controller do
|
|||
sign_out admin
|
||||
end
|
||||
|
||||
it { expect(subject).to redirect_to new_administrateur_session_path }
|
||||
it { expect(subject).to redirect_to new_user_session_path }
|
||||
end
|
||||
|
||||
context 'when user is connected' do
|
||||
|
@ -204,7 +204,7 @@ describe Admin::ProceduresController, type: :controller do
|
|||
|
||||
subject { put :update, params: {id: procedure.id} }
|
||||
|
||||
it { expect(subject).to redirect_to new_administrateur_session_path }
|
||||
it { expect(subject).to redirect_to new_user_session_path }
|
||||
end
|
||||
|
||||
context 'when administrateur is connected' do
|
||||
|
|
Loading…
Reference in a new issue