Add heading to milestones progress bars
This commit is contained in:
@@ -414,7 +414,7 @@ feature 'Legislation' do
|
||||
visit milestones_legislation_process_path(process)
|
||||
|
||||
within(".tab-milestones") do
|
||||
expect(page).to have_css "progress"
|
||||
expect(page).to have_content "Progress"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -425,7 +425,7 @@ feature 'Legislation' do
|
||||
visit milestones_legislation_process_path(process)
|
||||
|
||||
within(".tab-milestones") do
|
||||
expect(page).to have_css "progress"
|
||||
expect(page).to have_content "Progress"
|
||||
expect(page).to have_content "Build laboratory"
|
||||
end
|
||||
end
|
||||
@@ -436,7 +436,7 @@ feature 'Legislation' do
|
||||
visit milestones_legislation_process_path(process)
|
||||
|
||||
within(".tab-milestones") do
|
||||
expect(page).not_to have_css "progress"
|
||||
expect(page).not_to have_content "Progress"
|
||||
expect(page).not_to have_content "Defeat Evil Lords"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user