diff --git a/spec/support/i18n_raise_errors.rb b/spec/support/i18n_raise_errors.rb new file mode 100644 index 000000000..5a6498fbb --- /dev/null +++ b/spec/support/i18n_raise_errors.rb @@ -0,0 +1,7 @@ +module I18n + def self.just_raise_that_exception(*args) + raise args.first + end +end + +I18n.exception_handler = :just_raise_that_exception