reinforce preview testing

This commit is contained in:
simon lehericey 2022-03-15 11:14:45 +01:00
parent 968531f45b
commit 0a3eb4a909

View file

@ -14,7 +14,9 @@ describe Administrateurs::ProceduresController, type: :controller do
let(:lien_site_web) { 'http://mon-site.gouv.fr' }
describe '#apercu' do
let(:procedure) { create(:procedure) }
render_views
let(:procedure) { create(:procedure, :with_all_champs) }
before do
sign_in(admin.user)