Merge pull request #4820 from consul/legislation_processes_alert
Remove unnecessary alert on legislation processes
This commit is contained in:
@@ -255,7 +255,6 @@ describe "Legislation" do
|
||||
end
|
||||
|
||||
expect(page).to have_content("This is the process homepage")
|
||||
expect(page).not_to have_content("Participate in the debate")
|
||||
end
|
||||
|
||||
scenario "disabled", :with_frozen_time do
|
||||
@@ -282,7 +281,6 @@ describe "Legislation" do
|
||||
visit legislation_process_path(process)
|
||||
|
||||
expect(page).to have_content("This phase is not open yet")
|
||||
expect(page).not_to have_content("Participate in the debate")
|
||||
end
|
||||
|
||||
scenario "open without questions" do
|
||||
@@ -290,7 +288,6 @@ describe "Legislation" do
|
||||
|
||||
visit legislation_process_path(process)
|
||||
|
||||
expect(page).not_to have_content("Participate in the debate")
|
||||
expect(page).not_to have_content("This phase is not open yet")
|
||||
end
|
||||
|
||||
@@ -303,7 +300,6 @@ describe "Legislation" do
|
||||
|
||||
expect(page).to have_content("Question 1")
|
||||
expect(page).to have_content("Question 2")
|
||||
expect(page).to have_content("Participate in the debate")
|
||||
expect(page).not_to have_content("This phase is not open yet")
|
||||
end
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@ describe "Legislation" do
|
||||
scenario "shows question list" do
|
||||
visit legislation_process_path(process)
|
||||
|
||||
expect(page).to have_content("Participate in the debate")
|
||||
|
||||
expect(page).to have_content("Question 1")
|
||||
expect(page).to have_content("Question 2")
|
||||
expect(page).to have_content("Question 3")
|
||||
|
||||
Reference in New Issue
Block a user