Sha256: aeb33f496f3bb2f32ce64674eb83cbd5c0c1999ef4e8c42625edf3d9c7d12567
Contents?: true
Size: 795 Bytes
Versions: 3
Compression:
Stored size: 795 Bytes
Contents
# -*- coding: utf-8 -*- require 'minitest/autorun' require 'simplecov' SimpleCov.start describe Fab do let(:fab){ Fab.new } describe "#language_code" do before do @x = fab.language_code end it "is a string" do @x.must_be_kind_of String end end describe "#language_code_iso6391" do before do @x = fab.language_code_iso6391 end it "is a string" do @x.must_be_kind_of String end it "is in the list" do fab.language_code_iso6391_list.must_include @x end end describe "#language_code_iso6391_list" do before do @x = [:a, :b, :c] end it "gets and sets" do fab.language_code_iso6391_list = @x fab.language_code_iso6391_list.must_equal @x end end end
Version data entries
3 entries across 3 versions & 1 rubygems