This commit is contained in:
simon lehericey 2019-08-21 16:17:02 +02:00
parent caf1fbca44
commit a2061fba79

View file

@ -9,7 +9,7 @@ describe 'admin/procedures/show.html.haml', type: :view do
end end
describe 'procedure is draft' do describe 'procedure is draft' do
context 'when procedure does not have a gestionnare affected' do context 'when procedure does not have a instructeur affected' do
before do before do
render render
end end
@ -21,7 +21,7 @@ describe 'admin/procedures/show.html.haml', type: :view do
end end
end end
context 'when procedure have a gestionnare affected' do context 'when procedure have a instructeur affected' do
before do before do
create(:instructeur).assign_to_procedure(procedure) create(:instructeur).assign_to_procedure(procedure)
render render