Sha256: 30dd00ba3d7f890419ea9113d6f78ee19d577349a91fffe26a5a5f51bd7c0397
Contents?: true
Size: 512 Bytes
Versions: 11
Compression:
Stored size: 512 Bytes
Contents
current_folder = File.dirname(__FILE__) require File.join(current_folder,'..','..','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
11 entries across 11 versions & 2 rubygems