Skip to content

Commit

Permalink
[#57816] disabled lazy load i18n for eager loaded runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharonus committed Oct 11, 2024
1 parent 561e2a5 commit 7dd368b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/support/i18n_lazy_loading.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7dd368b

Please sign in to comment.