Sha256: f79924fa0d7781ee0db3a5eb23f15ef7ab100b22af7eb8d845b6b38959cb6725

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

require 'spec_helper'

module DmPanlex
   describe Wcex, "Word classification expression" do
      it "has a property expression (ex)" do
         should have_property :ex
      end
      it "has a property text (tt)" do
         should have_property :tt
      end
      it "is not valid without an expression" do
         should validate_presence_of :ex
      end
      it "is not valid without a text" do
         should validate_presence_of :tt
      end
      it "has many word clasifications (wc)" do
         should have_many :wcs
      end
   end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 spec/dm_panlex/models/wcex_spec.rb
dm_panlex-0.2.1 spec/dm_panlex/models/wcex_spec.rb
dm_panlex-0.2.0 spec/dm_panlex/models/wcex_spec.rb