spec/i18n/locale/pluralization_spec.rb in rs_russian-0.7.0 vs spec/i18n/locale/pluralization_spec.rb in rs_russian-0.7.1

- old
+ new

@@ -1,6 +1,6 @@ -# -*- encoding: utf-8 -*- +# -*- encoding: utf-8 -*- require File.dirname(__FILE__) + '/../../spec_helper' describe I18n, "Russian pluralization" do before(:each) do @@ -8,10 +8,10 @@ %w(one few many other).each do |key| @hash[key.to_sym] = key end @backend = I18n.backend end - + it "should pluralize correctly" do @backend.send(:pluralize, :'ru', @hash, 1).should == 'one' @backend.send(:pluralize, :'ru', @hash, 2).should == 'few' @backend.send(:pluralize, :'ru', @hash, 3).should == 'few' @backend.send(:pluralize, :'ru', @hash, 5).should == 'many' \ No newline at end of file