Use assign_to
This commit is contained in:
parent
31cb056351
commit
caf1fbca44
4 changed files with 7 additions and 7 deletions
|
@ -23,7 +23,7 @@ describe 'admin/procedures/show.html.haml', type: :view do
|
|||
|
||||
context 'when procedure have a gestionnare affected' do
|
||||
before do
|
||||
create :assign_to, instructeur: create(:instructeur), procedure: procedure
|
||||
create(:instructeur).assign_to_procedure(procedure)
|
||||
render
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue