Sha256: acbe632f4492ea77a7ef9b7b20f452983a50c09ff231247ce24fcc837d118300
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 Bytes
Contents
# $VERBOSE = true # ignore complaints in spec files # ---- requirements $LOAD_PATH.unshift File.expand_path("../lib", File.dirname(__FILE__)) require 'fast_gettext' # ---- revert to defaults RSpec.configure do |config| config.before do FastGettext.default_available_locales = nil FastGettext.available_locales = nil FastGettext.locale = 'de' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fast_gettext-0.7.1 | spec/spec_helper.rb |
fast_gettext-0.7.0 | spec/spec_helper.rb |
fast_gettext-0.6.12 | spec/spec_helper.rb |