Sha256: a6e8ca517f8ba4fe3a2f0ed19200de3d4fca701e03426e016757787a1e769615
Contents?: true
Size: 618 Bytes
Versions: 14
Compression:
Stored size: 618 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe ExvoGlobalize do context "Polish pluralization rules" do before { I18n.locale = :pl } specify { I18n.t(:mail, :count => 0).should match(/listów$/) } specify { I18n.t(:mail, :count => 1).should match(/list$/) } specify { I18n.t(:mail, :count => 3).should match(/listy$/) } specify { I18n.t(:mail, :count => 5).should match(/listów$/) } specify { I18n.t(:mail, :count => 12).should match(/listów$/) } specify { I18n.t(:mail, :count => 22).should match(/listy$/) } after { I18n.locale = I18n.default_locale } end end
Version data entries
14 entries across 14 versions & 1 rubygems