Sha256: 47651a04a2482190ed63d0e56be925f5544bdfa2cecbe589cae35cacadccb473
Contents?: true
Size: 604 Bytes
Versions: 23
Compression:
Stored size: 604 Bytes
Contents
# ---- requirements require 'rubygems' $LOAD_PATH.unshift File.expand_path("../lib", File.dirname(__FILE__)) require 'fast_gettext' # ---- revert to defaults Spec::Runner.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'] FastGettext.locale = 'de' end
Version data entries
23 entries across 23 versions & 2 rubygems