Sha256: 62373e286894669f13651770595ced32d168eab6091776eb148eea5296e4044e
Contents?: true
Size: 618 Bytes
Versions: 4
Compression:
Stored size: 618 Bytes
Contents
# # This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "spec_helper" describe Brauser::Definitions::Language do subject { ::Brauser::Definitions::Language.new("it_CH", "Italian/ Switzerland") } describe "#initialize" do it "should save the code as id and code, and also save the name" do expect(subject.id).to eq(:"it-ch") expect(subject.code).to eq("it-ch") expect(subject.name).to eq("Italian/ Switzerland") end end end
Version data entries
4 entries across 4 versions & 1 rubygems