Adds homepage phase and tab to legislation processes show
This commit is contained in:
@@ -201,6 +201,10 @@ feature 'Legislation' do
|
||||
|
||||
visit legislation_process_path(process)
|
||||
|
||||
within(".key-dates") do
|
||||
expect(page).to have_content("Homepage")
|
||||
end
|
||||
|
||||
expect(page).to have_content("This is the process homepage")
|
||||
expect(page).not_to have_content("Participate in the debate")
|
||||
end
|
||||
@@ -213,6 +217,10 @@ feature 'Legislation' do
|
||||
|
||||
visit legislation_process_path(process)
|
||||
|
||||
within(".key-dates") do
|
||||
expect(page).not_to have_content("Homepage")
|
||||
end
|
||||
|
||||
expect(page).to have_content("This phase is not open yet")
|
||||
expect(page).not_to have_content("This is the process homepage")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user