Sha256: 6cea5c895c3d215a22dd85ee65be8a5808c5b2c0e294554613242f22ec274f29

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 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
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 spec/dm_panlex/models/av_spec.rb
dm_panlex-0.2.1 spec/dm_panlex/models/av_spec.rb