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

- old
+ new

@@ -17,11 +17,11 @@ end # context context 'Provided services:' do def build_det(aBaseForm) entry = Zenlish::Lex::LexicalEntry.new(aBaseForm) - lexeme = Zenlish::Lex::Lexeme.new(subject, entry) + Zenlish::Lex::Lexeme.new(subject, entry) end def test_all_inflections(det_form, wforms) determiner = build_det(det_form) inflected = determiner.all_inflections @@ -37,10 +37,10 @@ expect(subject['DISTANCE']).to be_kind_of(Feature::FeatureDef) expect(subject['PARADIGM'].default.val).to eq('Demonstrative_det_paradigm') end it 'should give all word forms' do - test_all_inflections('this', ['this', 'that', 'these', 'those']) + test_all_inflections('this', %w[this that these those]) end end # context end # describe end # module end # module