Instructeur has_many procedures through groupe_instructeur
This commit is contained in:
parent
25991c2892
commit
85499365a0
7 changed files with 22 additions and 17 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue