Instructeur has_many procedures through groupe_instructeur

This commit is contained in:
simon lehericey 2019-08-20 18:03:33 +02:00
parent 25991c2892
commit 85499365a0
7 changed files with 22 additions and 17 deletions

View file

@ -32,7 +32,7 @@ describe InvitesController, type: :controller do
context 'when instructeur has access to dossier' do
before do
signed_in_profile.instructeur.procedures << dossier.procedure
signed_in_profile.instructeur.groupe_instructeurs << dossier.procedure.defaut_groupe_instructeur
end
it_behaves_like "he can not create invitation"