Brutally rename gestionnaire filename to instructeur

This commit is contained in:
simon lehericey 2019-08-05 16:59:06 +02:00
parent c681806f8d
commit 6902f84b85
88 changed files with 0 additions and 0 deletions

View file

@ -1,20 +0,0 @@
describe Gestionnaires::ActivateController, type: :controller do
describe '#new' do
let(:gestionnaire) { create(:gestionnaire) }
let(:token) { gestionnaire.send(:set_reset_password_token) }
before { allow(controller).to receive(:trust_device) }
context 'when the token is ok' do
before { get :new, params: { token: token } }
it { expect(controller).to have_received(:trust_device) }
end
context 'when the token is bad' do
before { get :new, params: { token: 'bad' } }
it { expect(controller).not_to have_received(:trust_device) }
end
end
end