Sha256: a358004dc65cb15e4df3e4caf253bae862f02a2a1e7f9cdfab5c59d68b289153
Contents?: true
Size: 798 Bytes
Versions: 1
Compression:
Stored size: 798 Bytes
Contents
require 'spec_helper' module DmPanlex describe Dm, "Domain descriptors" do it "has a property id (dm)" do should have_property :dm end it "has a property meaning (mn)" do should have_property :mn end it "has a property expression (ex)" do should have_property :ex end it "is not valid without an id" do should validate_presence_of :dm end it "is not valid without a meaning" do should validate_presence_of :mn end it "is not valid without an expression" do should validate_presence_of :ex end it "belongs to an expression (ex)" do should belong_to :ex end it "belongs to a meaning (mn)" do should belong_to :mn end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.0 | spec/dm_panlex/models/dm_spec.rb |