spec/zenlish/wclasses/lexical_verb_spec.rb in zenlish-0.2.05 vs spec/zenlish/wclasses/lexical_verb_spec.rb in zenlish-0.2.06

- old
+ new

@@ -1,21 +1,21 @@ # frozen_string_literal: true require_relative '../../spec_helper' # Use the RSpec framework # Load the class under test -require_relative '../../../lib/zenlish/wclasses/lexical_verb' +require_relative '../../../lib/zenlish/wclasses/lexical_verb' module Zenlish module WClasses class LexicalVerb # Do limited monkeypatching, just for testing purposes def init_paradigms # Empty method end end - + describe LexicalVerb do subject { LexicalVerb.new } context 'Initialization:' do it 'should be initialized without argument' do @@ -25,10 +25,10 @@ context 'Provided services:' do it 'should know its inherited feature definitions' do expect(subject['NUMBER']).to be_kind_of(Feature::FeatureDef) expect(subject['PERSON']).to be_kind_of(Feature::FeatureDef) - expect(subject['PARADIGM'].default.val).to eq('Regular_inflection') + expect(subject['PARADIGM'].default.val).to eq('Regular_inflection') end end # context end # describe end # module end # module