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"
polls:
index:
title: "List of active polls"
title: "List of polls"
no_polls: "There are no polls coming up."
create: "Create poll"
name: "Name"

View File

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

View File

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