Fix tests
This commit is contained in:
parent
c795a7d7e2
commit
4112af6c93
1 changed files with 0 additions and 17 deletions
|
@ -129,22 +129,5 @@ describe 'admin/previsualisations/show.html.haml', type: :view do
|
|||
it { expect(rendered).not_to have_content 'Documents administratifs' }
|
||||
end
|
||||
|
||||
context 'when dossier have pj' do
|
||||
let(:dossier) { create(:dossier) }
|
||||
|
||||
it { expect(rendered).to have_content 'Documents administratifs' }
|
||||
end
|
||||
|
||||
context 'when procedure have demarche link' do
|
||||
let(:procedure) { create :procedure }
|
||||
|
||||
it { expect(rendered).to have_content 'Documents administratifs' }
|
||||
end
|
||||
|
||||
context 'when procedure have cerfa flag true' do
|
||||
let(:procedure) {create(:procedure, cerfa_flag: true)}
|
||||
|
||||
it { expect(rendered).to have_content 'Documents administratifs' }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue