spec/zenlish/lex/literal_spec.rb in zenlish-0.2.05 vs spec/zenlish/lex/literal_spec.rb in zenlish-0.2.06

- old
+ new

@@ -6,15 +6,15 @@ require_relative '../../../lib/zenlish/lex/lexeme' require_relative '../../../lib/zenlish/lex/literal' # Load the class under test module Zenlish module Lex - describe Lexeme do + describe Literal do let(:sample_wclass) { WClasses::CommonNoun.new } let(:sample_lemma) { 'thing' } let(:sample_entry) { LexicalEntry.new(sample_lemma) } let(:sample_position) { double('position') } - let(:sample_lexeme) { Lexeme.new(sample_wclass, sample_entry) } + let(:sample_lexeme) { Lexeme.new(sample_wclass, sample_entry) } subject { Literal.new('things', sample_lexeme, sample_position) } context 'Initialization:' do it 'should be initialized with a string, a lexeme and a position' do