Rename legislation process final_version_publication phase name to more descriptive result_publication

This commit is contained in:
Bertocq
2017-06-13 19:59:49 +02:00
parent edee908fc1
commit e55328caf4
8 changed files with 22 additions and 22 deletions

View File

@@ -106,7 +106,7 @@ feature 'Legislation' do
scenario 'not open' do
process = create(:legislation_process, result_publication_date: Date.current + 1.day)
visit legislation_process_final_version_publication_path(process)
visit legislation_process_result_publication_path(process)
expect(page).to have_content("This phase is not open yet")
end
@@ -114,7 +114,7 @@ feature 'Legislation' do
scenario 'open' do
process = create(:legislation_process, result_publication_date: Date.current)
visit legislation_process_final_version_publication_path(process)
visit legislation_process_result_publication_path(process)
expect(page).to have_content("Nothing published yet")
end