use entreprise decorator

add test to entreprise decorator
refacto views
This commit is contained in:
Tanguy PATTE 2015-08-14 18:07:40 +02:00
parent 107b11d510
commit a86ecb69de
8 changed files with 124 additions and 94 deletions

View file

@ -10,6 +10,6 @@ describe 'dossiers/show.html.haml', type: :view do
render
end
it 'have autorisation_donnees check box' do
expect(rendered).to have_css('#autorisation_donnees')
expect(rendered).to have_css('#dossier_autorisation_donnees')
end
end