toggle routing after groupe instructeur update

This commit is contained in:
Eric Leroy-Terquem 2022-10-25 14:27:51 +02:00
parent 5578115acf
commit b51770c151
2 changed files with 8 additions and 8 deletions

View file

@ -22,7 +22,7 @@ describe Administrateurs::ArchivesController, type: :controller do
it { is_expected.to have_http_status(200) }
it 'use all procedure.groupe_instructeurs' do
expect(Archive).to receive(:for_groupe_instructeur).with([groupe_instructeur1, groupe_instructeur2]).and_return([])
expect(Archive).to receive(:for_groupe_instructeur).and_return([])
subject
end
end