Sha256: 91badb49d9dfa66f17413f41620889556880a10178a4541dba3ec0d1c851ed65
Contents?: true
Size: 573 Bytes
Versions: 4
Compression:
Stored size: 573 Bytes
Contents
# $VERBOSE = true # ignore complaints in spec files # ---- 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 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fast_gettext-0.6.7 | spec/spec_helper.rb |
fast_gettext-0.6.6 | spec/spec_helper.rb |
fast_gettext-0.6.5 | spec/spec_helper.rb |
fast_gettext-0.6.4 | spec/spec_helper.rb |