From 0706d5979338dd8e7a856310fc0954ba15adb01e Mon Sep 17 00:00:00 2001 From: Xavier J Date: Tue, 3 Jan 2017 11:37:26 +0100 Subject: [PATCH] Fix admin procedure controller spec --- spec/controllers/admin/procedures_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/admin/procedures_controller_spec.rb b/spec/controllers/admin/procedures_controller_spec.rb index 0ccbbbdb1..7d3379723 100644 --- a/spec/controllers/admin/procedures_controller_spec.rb +++ b/spec/controllers/admin/procedures_controller_spec.rb @@ -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