# File lib/vendor/i18n/test/i18n_test.rb, line 74 def test_translate_given_no_locale_uses_i18n_locale I18n.backend.expects(:translate).with 'en', :foo, {} I18n.translate :foo end