spec/zenlish/lex/lexeme_spec.rb in zenlish-0.2.00 vs spec/zenlish/lex/lexeme_spec.rb in zenlish-0.2.01

- old
+ new

@@ -45,9 +45,13 @@ it 'should know its own feature defs' do instance = Lexeme.new(a_wclass, an_entry, a_feat_struct_def) expect(instance['NUMBER'].default.val).to eq(:plural) end + + it 'should know its inflection paradigm' do + expect(subject.paradigm).to be_kind_of(Inflect::InflectionTable) + end end # context end # describe end # module end # module