Sha256: 5b5edbc994e17ccb5efa80260d6495290cc98b113c415ca121b82921b7ec25a4
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' module DmPanlex describe Lc, "Language code" do it "has a property code (lc)" do should have_property :lc end it "has a property code type (tp)" do should have_property :tp end it "is not valid without a code" do should validate_presence_of :lc end it "is not valid without a code type" do should validate_presence_of :tp end it "has many language varieties (lv)" do should have_many :lvs end it "has many iso codes (i1)" do should have_many :i1s end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.2 | spec/dm_panlex/models/lc_spec.rb |
dm_panlex-0.2.1 | spec/dm_panlex/models/lc_spec.rb |
dm_panlex-0.2.0 | spec/dm_panlex/models/lc_spec.rb |