Cleaning a few lines

This commit is contained in:
Pierre Mesure
2019-09-08 19:52:47 +02:00
parent d317af572c
commit 7fc4106780
2 changed files with 1 additions and 9 deletions

View File

@@ -4,14 +4,7 @@ Rails.application.configure do
# Some tests require the following languages (en, es, fr, nl, pt-BR) # Some tests require the following languages (en, es, fr, nl, pt-BR)
# so we override the available languages for the test environment. # so we override the available languages for the test environment.
config.i18n.default_locale = :en config.i18n.default_locale = :en
available_locales = [ config.i18n.available_locales = %w[de en es fr nl pt-BR zh-CN]
"en",
"es",
"fr",
"nl",
"pt-BR"
]
config.i18n.available_locales = available_locales
# The test environment is used exclusively to run your application's # The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that # test suite. You never need to work with it otherwise. Remember that

View File

@@ -13,7 +13,6 @@ require "capybara/rspec"
require "selenium/webdriver" require "selenium/webdriver"
Rails.application.load_tasks if Rake::Task.tasks.empty? Rails.application.load_tasks if Rake::Task.tasks.empty?
I18n.default_locale = :en
include Warden::Test::Helpers include Warden::Test::Helpers
Warden.test_mode! Warden.test_mode!