Sha256: d303fcd685024f8216614e8ab7091b39e9ef39e532068c455a8a0ea91e004f57
Contents?: true
Size: 819 Bytes
Versions: 2
Compression:
Stored size: 819 Bytes
Contents
require 'spec_helper' module DmPanlex describe Df, "Definition" do it "has a property id (df)" do should have_property :df end it "has a property meaning (mn)" do should have_property :mn end it "has a property variety of the text (lv)" do should have_property :lv end it "has a property text (tt)" do should have_property :tt end it "is not valid without an id" do should validate_presence_of :df end it "is not valid without a meaning" do should validate_presence_of :mn end it "is not valid without a variety of the text" do should validate_presence_of :lv end it "is not valid without a text" do should validate_presence_of :tt end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dm_panlex-0.2.2 | spec/dm_panlex/models/df_spec.rb |
dm_panlex-0.2.1 | spec/dm_panlex/models/df_spec.rb |