Selectors must be written in lowercase with hyphens

This commit is contained in:
gregoirenovel 2017-04-12 11:12:05 +02:00
parent 73caee0ff3
commit c10c2fc31b
131 changed files with 405 additions and 404 deletions

View file

@ -20,7 +20,7 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
it 'button Modifier les document est present' do
expect(rendered).not_to have_content('Modifier les documents')
expect(rendered).not_to have_css('#UploadPJmodal')
expect(rendered).not_to have_css('#upload-pj-modal')
end
it 'enterprise informations are present' do
@ -28,7 +28,7 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
end
it 'dossier informations are present' do
expect(rendered).to have_selector('#infos_dossier')
expect(rendered).to have_selector('#infos-dossiers')
end
context 'edit link are present' do