Improve text in group page

This commit is contained in:
Alberto
2020-05-04 12:44:18 +02:00
committed by Javi Martín
parent 49b4061990
commit bc165eeda5
4 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ en:
casted_offline: You have already participated offline
groups:
show:
title: Select an option
title: Select a heading
unfeasible_title: Unfeasible investments
unfeasible: See unfeasible investments
unselected_title: Investments not selected for balloting phase

View File

@@ -42,7 +42,7 @@ es:
casted_offline: Ya has participado presencialmente
groups:
show:
title: Selecciona una opción
title: Selecciona una partida
unfeasible_title: Proyectos de gasto inviables
unfeasible: Ver proyectos inviables
unselected_title: Proyectos no seleccionados para la votación final

View File

@@ -161,7 +161,7 @@ describe "Admin budget groups", :admin do
visit budget_group_path(budget, id: "old-english-name")
expect(page).to have_content "Select an option"
expect(page).to have_content "Select a heading"
visit edit_admin_budget_group_path(budget, group)
@@ -173,7 +173,7 @@ describe "Admin budget groups", :admin do
visit budget_group_path(budget, id: "new-english-name")
expect(page).to have_content "Select an option"
expect(page).to have_content "Select a heading"
end
end

View File

@@ -7,12 +7,12 @@ describe "Budget Groups" do
context "Load" do
scenario "finds group using budget slug and group slug" do
visit budget_group_path("budget_slug", "group_slug")
expect(page).to have_content "Select an option"
expect(page).to have_content "Select a heading"
end
scenario "finds group using budget id and group id" do
visit budget_group_path(budget, group)
expect(page).to have_content "Select an option"
expect(page).to have_content "Select a heading"
end
end