attempts to fix travis again
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h3 class="inline-block"><%= t('admin.budgets.show.groups') %></h3>
|
||||
<h3 class="inline-block"><%= t('admin.budgets.show.groups', count: groups.count) %></h3>
|
||||
<% if groups.blank? %>
|
||||
<div class="callout primary">
|
||||
<%= t("admin.budgets.form.no_groups") %>
|
||||
|
||||
@@ -82,7 +82,9 @@ en:
|
||||
new:
|
||||
title: New participatory budget
|
||||
show:
|
||||
groups: Groups of budget headings
|
||||
groups:
|
||||
one: 1 Group of budget headings
|
||||
other: "%{count} Groups of budget headings"
|
||||
form:
|
||||
group: Group name
|
||||
no_groups: No groups created yet. Each user will be able to vote in only one heading per group.
|
||||
|
||||
@@ -82,7 +82,9 @@ es:
|
||||
new:
|
||||
title: Nuevo presupuesto ciudadano
|
||||
show:
|
||||
groups: Grupos de partidas presupuestarias
|
||||
groups:
|
||||
one: 1 Grupo de partidas presupuestarias
|
||||
other: "%{count} Grupos de partidas presupuestarias"
|
||||
form:
|
||||
group: Nombre del grupo
|
||||
no_groups: No hay grupos creados todavía. Cada usuario podrá votar en una sola partida de cada grupo.
|
||||
|
||||
@@ -113,6 +113,7 @@ feature 'Admin budgets' do
|
||||
click_link 'Edit headings groups'
|
||||
end
|
||||
|
||||
expect(page).to have_content '0 Groups of budget headings'
|
||||
expect(page).to have_content 'No groups created yet.'
|
||||
|
||||
click_link 'Add new group'
|
||||
@@ -120,6 +121,7 @@ feature 'Admin budgets' do
|
||||
fill_in 'budget_group_name', with: 'Health'
|
||||
click_button 'Create group'
|
||||
|
||||
expect(page).to have_content '1 Group of budget headings'
|
||||
expect(page).to have_content 'Health'
|
||||
expect(page).to have_content 'Yearly participatory budget'
|
||||
expect(page).to_not have_content 'No groups created yet.'
|
||||
@@ -127,6 +129,7 @@ feature 'Admin budgets' do
|
||||
visit admin_budgets_path
|
||||
click_link 'Edit budget'
|
||||
|
||||
expect(page).to have_content '1 Group of budget headings'
|
||||
expect(page).to have_content 'Health'
|
||||
expect(page).to have_content 'Yearly participatory budget'
|
||||
expect(page).to_not have_content 'No groups created yet.'
|
||||
|
||||
Reference in New Issue
Block a user