# File lib/vendor/i18n/test/i18n_exceptions_test.rb, line 22 def test_missing_translation_data_stores_locale_key_and_options force_missing_translation_data rescue I18n::ArgumentError => e options = {:scope => :bar} assert_equal 'de', e.locale assert_equal :foo, e.key assert_equal options, e.options end