Sha256: f6f6d950db88084072debe26d9b97efcc6e388a063e1ad7856e425610755c605
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
require 'spec_helper' module DmPanlex describe Av, "Approver variety" do it "has a property approver (ap)" do should have_property :ap end it "has a property variety (lv)" do should have_property :lv end it "is not valid without an approver" do should validate_presence_of :ap end it "is not valid without a variety" do should validate_presence_of :lv end it "belongs to an approver (ap)" do should belong_to :ap 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/av_spec.rb |