Procédure → Démarche
This commit is contained in:
parent
fabfa7d5e6
commit
00ecae5f93
71 changed files with 163 additions and 163 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue