Sha256: 02801ee25fe5c2eeca7e67010017f43c30527da02265cb91f006b434aca610dd
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
require 'spec_helper' module DmPanlex describe Mi, "Meaning identifier" do it "has a property meaning (mn)" do should have_property :mn end it "has a property text (tt)" do should have_property :tt end it "is not valid without a meaning" do should validate_presence_of :mn end it "is not valid without a text" do should validate_presence_of :tt 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/mi_spec.rb |