Sha256: aa3b50a0533e12be7f79d86738a24eaea84aa73d6265d660e255ffc155b40194
Contents?: true
Size: 404 Bytes
Versions: 11
Compression:
Stored size: 404 Bytes
Contents
require "spec_helper" module Refinery describe AdminHelper, :type => :helper do describe "locale_country" do it "should return the second part of a dialect" do expect(helper.locale_country('zh-TW')).to eq("TW") end it "should return the locale if it is not a dialect" do expect(helper.locale_country('en')).to eq("EN") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems