diff --git a/spec/base_spec_helper.rb b/spec/base_spec_helper.rb index f8c30b3f07..7f7ef01a12 100644 --- a/spec/base_spec_helper.rb +++ b/spec/base_spec_helper.rb @@ -150,7 +150,8 @@ RSpec.configure do |config| # Reset locale for all specs. config.around(:each) do |example| - I18n.with_locale(:en_AU) { example.run } + locale = ENV.fetch('LOCALE', 'en_TST') + I18n.with_locale(locale) { example.run } end # Reset all feature toggles to prevent leaking.