spec/zenlish/wclasses/regular_verb_spec.rb in zenlish-0.2.01 vs spec/zenlish/wclasses/regular_verb_spec.rb in zenlish-0.2.02

- old
+ new

@@ -42,11 +42,11 @@ pairs.each do |(constraints, expected_form)| expect(verb.inflect(constraints)).to eq(expected_form) end end - it 'should how to inflect regular verbs' do + it 'should know how to inflect regular verbs' do expectations_1 = [ [present_1sg, 'exist'], [present_3sg, 'exists'], [present_1pl, 'exist'], [progressive, 'existing'], @@ -81,10 +81,20 @@ [present_1pl, 'touch'], [progressive, 'touching'], [past_simple, 'touched'], [past_participle, 'touched'] ] - test_inflection_of('touch', expectations_4) + test_inflection_of('touch', expectations_4) + + expectations_5 = [ + [present_1sg, 'die'], + [present_3sg, 'dies'], + [present_1pl, 'die'], + [progressive, 'dying'], + [past_simple, 'died'], + [past_participle, 'died'] + ] + test_inflection_of('die', expectations_5) end end # context end # describe end # module end # module \ No newline at end of file