Sha256: e59752c9132ccea3ccb19af0aaf9f9f860f87d64be4e3176caf5d8ec64ede7c5
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 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 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.3 | spec/spec_helper.rb |
fast_gettext-0.6.2 | spec/spec_helper.rb |
fast_gettext-0.6.1 | spec/spec_helper.rb |
fast_gettext-0.6.0 | spec/spec_helper.rb |