Sha256: 13d6e86031420da5d7dadd254bf6d6fc9ef8584b23064f0f4e06a421da6a001f
Contents?: true
Size: 791 Bytes
Versions: 1
Compression:
Stored size: 791 Bytes
Contents
require 'spec_helper' module DmPanlex describe Cp, "Approved characters" do it "has a property variety (lv)" do should have_property :lv end it "has a property start of character range (c0)" do should have_property :c0 end it "has a property end of character range (c1)" do should have_property :c1 end it "is not valid without a variety" do should validate_presence_of :lv end it "is not valid without a start of character range" do should validate_presence_of :c0 end it "is not valid without an end of character range" do should validate_presence_of :c1 end it "belongs to a language variety (lv)" do should belong_to :lv end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.0 | spec/dm_panlex/models/cp_spec.rb |