Sha256: 0c6d2067eed999483d4d2cb9a35d90243d08bee3fb750fc0ae3c19abe8757d9d
Contents?: true
Size: 607 Bytes
Versions: 2
Compression:
Stored size: 607 Bytes
Contents
# ---- requirements require 'rubygems' $LOAD_PATH.unshift File.expand_path("../lib", File.dirname(__FILE__)) require 'fast_gettext' # ---- revert to defaults RSpec.configure do |config| config.before :all do FastGettext.locale = 'de' FastGettext.available_locales = nil end end # ---- Helpers def pending_it(text,&block) it text do pending(&block) end end def default_setup FastGettext.add_text_domain('test',:path=>File.join(File.dirname(__FILE__),'locale')) FastGettext.text_domain = 'test' FastGettext.available_locales = ['en','de','gsw_CH'] FastGettext.locale = 'de' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fast_gettext-0.5.13 | spec/spec_helper.rb |
fast_gettext-0.5.12 | spec/spec_helper.rb |