diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 513718dd3..a1c4b58a8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -45,6 +45,9 @@ RSpec.configure do |config| DatabaseCleaner.strategy = :transaction I18n.locale = :en Globalize.locale = I18n.locale + unless %i[controller feature request].include? example.metadata[:type] + Globalize.set_fallbacks_to_all_available_locales + end load Rails.root.join("db", "seeds.rb").to_s Setting["feature.user.skip_verification"] = nil end