Changes site language test, comment unused keys

This commit is contained in:
Alberto Garcia Cabeza
2015-08-31 21:55:23 +02:00
parent 0235231ae6
commit b0f7d74c47
3 changed files with 7 additions and 7 deletions

View File

@@ -27,11 +27,11 @@ en:
locale: "Language:"
administration: Administration
moderation: Moderation
welcome: Welcome
# welcome: Welcome
how_it_works: How it works
help: Help
debates: Debates
initiatives: Initiatives
# initiatives: Initiatives
footer:
description:
"The city you want, it will be the city you want. Get more information here on this page.

View File

@@ -27,11 +27,11 @@ es:
locale: "Idioma:"
administration: Administrar
moderation: Moderar
welcome: Portada
# welcome: Portada
how_it_works: "Cómo funciona"
help: Ayuda
debates: Debates
initiatives: Iniciativas
# initiatives: Iniciativas
footer:
description:
"La ciudad que quieres, será la ciudad que quieras. Obtén aquí más información sobre esta página.

View File

@@ -25,11 +25,11 @@ feature 'Localization' do
scenario 'Changing the locale', :js do
visit '/'
expect(page).to have_content('Site language')
expect(page).to have_content('Language')
select('Español', from: 'locale-switcher')
expect(page).to have_content('Idioma de la página')
expect(page).to_not have_content('Site language')
expect(page).to have_content('Idioma')
expect(page).to_not have_content('Language')
expect(page).to have_select('locale-switcher', selected: 'Español')
end
end