diff options
Diffstat (limited to 'actiontext')
-rw-r--r-- | actiontext/test/test_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actiontext/test/test_helper.rb b/actiontext/test/test_helper.rb index fd1c859349..196fba8c99 100644 --- a/actiontext/test/test_helper.rb +++ b/actiontext/test/test_helper.rb @@ -14,6 +14,9 @@ Minitest.backtrace_filter = Minitest::BacktraceFilter.new require "rails/test_unit/reporter" Rails::TestUnitReporter.executable = "bin/test" +# Disable available locale checks to allow to add locale after initialized. +I18n.enforce_available_locales = false + # Load fixtures from the engine if ActiveSupport::TestCase.respond_to?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__) |