Sha256: 4b81863f346406a0d87f14051ff35dcc9cb5152b8961952bbefa5a1224b9bd87
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
require 'spec_helper' describe "LocaleSetter::Matcher" do it "can properly match mixed case locales" do LocaleSetter::Matcher.match(['EN-US'],['en-us']).should == :'en-us' end it "can match using a single string" do LocaleSetter::Matcher.match('en', ['en']).should == :en end it "can match using an array" do LocaleSetter::Matcher.match(['en','es'],['en','es']).should == :en end it "can fuzzy-match between locales with country and those without" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locale_setter-0.1.1 | spec/locale/matcher_spec.rb |
locale_setter-0.1.0 | spec/locale/matcher_spec.rb |