Change admin poll list title

This commit is contained in:
decabeza
2019-01-21 19:01:11 +01:00
parent 9475a0c6ee
commit 5ea1275e6a
3 changed files with 3 additions and 2 deletions

View File

@@ -916,7 +916,7 @@ en:
table_location: "Location" table_location: "Location"
polls: polls:
index: index:
title: "List of active polls" title: "List of polls"
no_polls: "There are no polls coming up." no_polls: "There are no polls coming up."
create: "Create poll" create: "Create poll"
name: "Name" name: "Name"

View File

@@ -916,7 +916,7 @@ es:
table_location: "Ubicación" table_location: "Ubicación"
polls: polls:
index: index:
title: "Listado de votaciones activas" title: "Listado de votaciones"
no_polls: "No hay ninguna votación próximamente." no_polls: "No hay ninguna votación próximamente."
create: "Crear votación" create: "Crear votación"
name: "Nombre" name: "Nombre"

View File

@@ -33,6 +33,7 @@ feature 'Admin polls' do
click_link "Polls" click_link "Polls"
end end
expect(page).to have_content "List of polls"
expect(page).to have_css ".poll", count: 3 expect(page).to have_css ".poll", count: 3
polls = Poll.all polls = Poll.all