Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save s-andringa/84071 to your computer and use it in GitHub Desktop.
Save s-andringa/84071 to your computer and use it in GitHub Desktop.
# test/test_helper.rb
# Make sure the tests fail if it encounters a missing translation:
module I18n
def self.just_raise(*args)
raise args.first
end
end
I18n.exception_handler = :just_raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment