# File lib/vendor/i18n/test/simple_backend_test.rb, line 167 def test_translate_calls_pluralize @backend.expects(:pluralize).with 'en', 'bar', 1 @backend.translate 'en', :bar, :scope => [:foo], :count => 1 end