diff --git a/config/initializers/test.rb b/config/initializers/test.rb new file mode 100644 index 0000000000..af1f0f4479 --- /dev/null +++ b/config/initializers/test.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +I18n.exception_handler = Proc.new do |exception, *_| + raise exception.to_exception +end \ No newline at end of file