Add heading to milestones progress bars

This commit is contained in:
Javi Martín
2019-01-10 21:43:51 +01:00
committed by decabeza
parent e73f3bd97a
commit b552f6e70b
4 changed files with 20 additions and 14 deletions

View File

@@ -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