Cleaning a few lines
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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!
|
||||||
|
|||||||
Reference in New Issue
Block a user