diff --git a/spec/support/i18n_lazy_loading.rb b/spec/support/i18n_lazy_loading.rb index 0099ac47f24e..39a1e430df40 100644 --- a/spec/support/i18n_lazy_loading.rb +++ b/spec/support/i18n_lazy_loading.rb @@ -60,6 +60,8 @@ def t(*args, **options) def self.install return if ENV["TEST_NO_I18N_LAZY_LOADING"].present? + return if ENV["CI"].present? + return if ENV["EAGER_LOAD"].present? # copy original I18n load path @@original_load_path = I18n.config.load_path.dup