Sha256: 84a87437786edc1a74248ced967850f31fb3ce34ea6387a6bb213a6b04adb6ea
Contents?: true
Size: 441 Bytes
Versions: 9
Compression:
Stored size: 441 Bytes
Contents
require 'spec/spec_helper' require 'fast_gettext/translation_repository/base' describe 'FastGettext::TranslationRepository::Base' do before do @rep = FastGettext::TranslationRepository::Base.new('x') end it "can be built" do @rep.available_locales.should == [] end it "cannot translate" do @rep['car'].should == nil end it "cannot pluralize" do @rep.plural('Axis','Axis').should == ['Axis','Axis'] end end
Version data entries
9 entries across 9 versions & 1 rubygems