Sha256: b8ec3344552324195514aecb00bd9ee12256d6b199c72b4bd2bab61e6decb1d7
Contents?: true
Size: 488 Bytes
Versions: 3
Compression:
Stored size: 488 Bytes
Contents
require "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 == [] end it "can be reloaded" do @rep.reload.should be_true end end
Version data entries
3 entries across 3 versions & 1 rubygems