Adds new texts on header, debates and footer

This commit is contained in:
Alberto Garcia Cabeza
2015-08-27 16:46:47 +02:00
parent 900f00b443
commit 42a0cffefc
2 changed files with 2 additions and 1 deletions

View File

@@ -53,6 +53,7 @@
<h1><%= t("layouts.header.open_city_title") %></h1> <h1><%= t("layouts.header.open_city_title") %></h1>
<p><%= t("layouts.header.open_city_slogan") %></p> <p><%= t("layouts.header.open_city_slogan") %></p>
<p><%= t("layouts.header.open_city_text") %></p> <p><%= t("layouts.header.open_city_text") %></p>
<p><%= t("layouts.header.open_city_soon") %></p>
<%= link_to t("layouts.header.see_all_debates"), debates_path, class: "button radius" %> <%= link_to t("layouts.header.see_all_debates"), debates_path, class: "button radius" %>
</div> </div>
</div> </div>

View File

@@ -6,7 +6,7 @@ feature 'Localization' do
visit root_path(locale: :es) visit root_path(locale: :es)
visit root_path(locale: :klingon) visit root_path(locale: :klingon)
expect(page).to have_text('Estamos abriendo Madrid') expect(page).to have_text('La ciudad que quieres, será la ciudad que quieras.')
end end
scenario 'Available locales appear in the locale switcher' do scenario 'Available locales appear in the locale switcher' do