Make sure the “commencer” link uses the proper test path

This commit is contained in:
Nicolas Bouilleaud 2019-08-13 15:43:23 +02:00
parent c26a701a17
commit 543f9894c1
3 changed files with 8 additions and 2 deletions

View file

@ -6,6 +6,7 @@ describe 'admin/procedures/show.html.haml', type: :view do
before do
assign(:procedure, procedure)
assign(:procedure_lien, commencer_url(path: procedure.path))
end
describe 'procedure is draft' do