We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9209fce + a69e9dd commit 85d724eCopy full SHA for 85d724e
1 file changed
spec/support/faker.rb
@@ -2,14 +2,10 @@
2
3
require 'faker'
4
5
-# Keep this as :en. Faker doesn't have :en-GB
6
-LOCALE = 'en'
7
-
8
RSpec.configure do |config|
9
config.before(:each) do
10
- I18n.locale = LOCALE
11
- Faker::Config.locale = LOCALE
12
- I18n.default_locale = LOCALE
+ I18n.locale = I18n.default_locale
+ Faker::Config.locale = I18n.default_locale
13
end
14
15
config.after(:each) do
0 commit comments