Merge pull request #3127 from consul/fix_date_order_translations

Bring back date order translations
This commit is contained in:
Javier Martín
2018-12-26 16:40:03 +01:00
committed by GitHub
53 changed files with 315 additions and 4 deletions

View File

@@ -24,4 +24,19 @@ feature 'Level two verification' do
expect(page).to have_content 'Code correct'
end
context "In Spanish, with no fallbacks" do
before do
skip unless I18n.available_locales.include?(:es)
allow(I18n.fallbacks).to receive(:[]).and_return([:es])
end
scenario "Works normally" do
user = create(:user)
login_as(user)
visit verification_path(locale: :es)
verify_residence
end
end
end