Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions spec/support/faker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

require 'faker'

# Keep this as :en. Faker doesn't have :en-GB
LOCALE = 'en'

RSpec.configure do |config|
config.before(:each) do
I18n.locale = LOCALE
Faker::Config.locale = LOCALE
I18n.default_locale = LOCALE
I18n.locale = I18n.default_locale
Faker::Config.locale = I18n.default_locale
end

config.after(:each) do
Expand Down
Loading