Sha256: cf35cec915193542426d8a2be99f7115fdeffe0b885d56eed53087c9c1984a5d
Contents?: true
Size: 555 Bytes
Versions: 16
Compression:
Stored size: 555 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.locale = 'de' @rep['car'].should == nil end it "cannot pluralize" do @rep.locale = 'de' @rep.plural('Axis','Axis').should == ['Axis','Axis'] end end
Version data entries
16 entries across 16 versions & 1 rubygems