Sha256: 8bf42f1270d0af112b3349297ae52f697b67bfd58de4c9c50433b5af8f40bb8f
Contents?: true
Size: 768 Bytes
Versions: 3
Compression:
Stored size: 768 Bytes
Contents
require 'spec_helper' module DmPanlex describe Apli, "Approver license" do it "has a property id (id)" do should have_property :id end it "has a property type code (li)" do should have_property :li end it "has a property text of the type's PanLex expression (pl)" do should have_property :pl end it "is not valid without an id" do should validate_presence_of :id end it "is not valid without a type code" do should validate_presence_of :li end it "is not valid without a text of the type's PanLex expression" do should validate_presence_of :pl end it "has many approvers (ap)" do should have_many :aps end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.2 | spec/dm_panlex/models/apli_spec.rb |
dm_panlex-0.2.1 | spec/dm_panlex/models/apli_spec.rb |
dm_panlex-0.2.0 | spec/dm_panlex/models/apli_spec.rb |