Use non-breaking spaces in tests
This commit is contained in:
parent
9de5587183
commit
b3d0a113eb
4 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ describe 'new_gestionnaire/dossiers/show.html.haml', type: :view do
|
|||
subject! { render }
|
||||
|
||||
it 'renders the header' do
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
end
|
||||
|
||||
it 'renders the dossier infos' do
|
||||
|
|
|
@ -12,7 +12,7 @@ describe 'new_user/dossiers/demande.html.haml', type: :view do
|
|||
subject! { render }
|
||||
|
||||
it 'renders the header' do
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
end
|
||||
|
||||
it 'renders the dossier infos' do
|
||||
|
|
|
@ -11,7 +11,7 @@ describe 'new_user/dossiers/show.html.haml', type: :view do
|
|||
subject! { render }
|
||||
|
||||
it 'renders a summary of the dossier state' do
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_selector('.status-overview')
|
||||
end
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ describe 'new_user/dossiers/show/header.html.haml', type: :view do
|
|||
|
||||
it 'affiche les informations du dossier' do
|
||||
expect(rendered).to have_text(dossier.procedure.libelle)
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_text("Dossier nº #{dossier.id}")
|
||||
expect(rendered).to have_text("en construction")
|
||||
|
||||
expect(rendered).to have_selector("ul.tabs")
|
||||
|
|
Loading…
Reference in a new issue