Fix admin procedure controller spec

This commit is contained in:
Xavier J 2017-01-03 11:37:26 +01:00
parent 21f58c0725
commit 0706d59793

View file

@ -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