Sha256: d8def7ffb083f7c64e60df015c8fbda01e0e3acc77b354ad186bb7827fb29c65
Contents?: true
Size: 524 Bytes
Versions: 10
Compression:
Stored size: 524 Bytes
Contents
require "spec_helper" describe 'unconfigured' do it "gives a useful error message when trying to just translate" do FastGettext.text_domain = nil begin FastGettext._('x') "".should == "success!?" rescue FastGettext::Storage::NoTextDomainConfigured end end it "gives a useful error message when only locale was set" do FastGettext.locale = 'de' begin FastGettext._('x') "".should == "success!?" rescue FastGettext::Storage::NoTextDomainConfigured end end end
Version data entries
10 entries across 10 versions & 1 rubygems