Procédure → Démarche

This commit is contained in:
gregoirenovel 2018-09-05 14:48:42 +02:00
parent fabfa7d5e6
commit 00ecae5f93
71 changed files with 163 additions and 163 deletions

View file

@ -52,7 +52,7 @@ feature 'Administrator connection' do
end
scenario 'it redirects to procedure page' do
expect(page).to have_content('Procédures')
expect(page).to have_content('Démarches')
end
end
end

View file

@ -113,7 +113,7 @@ feature 'As an administrateur I wanna create a new procedure', js: true do
click_on 'publish'
end
expect(page).to have_text('Procédure publiée')
expect(page).to have_text('Démarche publiée')
expect(page).to have_selector('.procedure-lien')
end
end

View file

@ -12,7 +12,7 @@ feature 'procedure locked' do
context 'when procedure is not published' do
scenario 'info label is not present' do
expect(page).not_to have_content('Cette procédure a été publiée, certains éléments ne peuvent plus être modifiés')
expect(page).not_to have_content('Cette démarche a été publiée, certains éléments ne peuvent plus être modifiés')
end
end
end

View file

@ -87,7 +87,7 @@ feature 'user path for dossier creation' do
end
scenario 'user is on home page', vcr: { cassette_name: 'complete_demande_spec' } do
expect(page).to have_content('La procédure n\'existe pas')
expect(page).to have_content('La démarche n\'existe pas')
end
end
end