# File lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb, line 63 def test_delegates_translate_to_backend I18n.backend.expects(:translate).with 'de', :foo, {} I18n.translate :foo, :locale => 'de' end