spec/zenlish/inflect/input_asis_spec.rb in zenlish-0.2.05 vs spec/zenlish/inflect/input_asis_spec.rb in zenlish-0.2.06
- old
+ new
@@ -29,22 +29,18 @@
it 'should return the text of given argument during generation' do
lexeme = double('fake-lexeme')
headings = double('fake-headings')
expect(subject.generate(headings, lexeme, sample_values)).to eq('Hello, world.')
end
-
+
it 'should return the text of given lexeme during generation' do
c_noun = WClasses::CommonNoun.new
an_entry = Lex::LexicalEntry.new('cherry')
lexeme = Lex::Lexeme.new(c_noun, an_entry)
heading = MethodHeading.new('base_form')
headings = [nil, nil, heading, nil]
expect(subject.generate(headings, lexeme, [])).to eq('cherry')
end
-
-=begin
-
-=end
end # context
end # describe
end # module
-end # module
\ No newline at end of file
+end # module