Sha256: 906f1d429cfebf78623604fcdb1967238fc0d38d425501fadc283da670dc2764

Contents?: true

Size: 333 Bytes

Versions: 26

Compression:

Stored size: 333 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Locales" do
  it "should do convertions of short formats" do
    Thread.current[:locale] = "en"
    res = Knj::Locales.lang
    raise "Result wasnt as expected: '#{res}'." if res["first"] != "en" or res["second"] != "GB" or res["full"] != "en_GB"
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
knjrbfw-0.0.113 spec/locales_spec.rb
knjrbfw-0.0.111 spec/locales_spec.rb
knjrbfw-0.0.110 spec/locales_spec.rb
knjrbfw-0.0.109 spec/locales_spec.rb
knjrbfw-0.0.108 spec/locales_spec.rb
knjrbfw-0.0.107 spec/locales_spec.rb
knjrbfw-0.0.105 spec/locales_spec.rb
knjrbfw-0.0.104 spec/locales_spec.rb
knjrbfw-0.0.103 spec/locales_spec.rb
knjrbfw-0.0.102 spec/locales_spec.rb
knjrbfw-0.0.101 spec/locales_spec.rb
knjrbfw-0.0.100 spec/locales_spec.rb
knjrbfw-0.0.99 spec/locales_spec.rb
knjrbfw-0.0.98 spec/locales_spec.rb
knjrbfw-0.0.97 spec/locales_spec.rb
knjrbfw-0.0.96 spec/locales_spec.rb
knjrbfw-0.0.95 spec/locales_spec.rb
knjrbfw-0.0.94 spec/locales_spec.rb
knjrbfw-0.0.93 spec/locales_spec.rb
knjrbfw-0.0.92 spec/locales_spec.rb