spec/rley/parser/chart_spec.rb in rley-0.1.08 vs spec/rley/parser/chart_spec.rb in rley-0.1.09

- old
+ new

@@ -5,16 +5,14 @@ require_relative '../../../lib/rley/parser/chart' module Rley # Open this namespace to avoid module qualifier prefixes module Parser # Open this namespace to avoid module qualifier prefixes describe Chart do - let(:count_token) { 20 } let(:dotted_rule) { double('fake-dotted-item') } context 'Initialization:' do - # Default instantiation rule subject { Chart.new(dotted_rule, count_token) } it 'should be created with a start dotted rule and a token count' do expect { Chart.new(dotted_rule, count_token) }.not_to raise_error @@ -33,12 +31,10 @@ end it 'should the start dotted rule' do expect(subject.start_dotted_rule).to eq(dotted_rule) end - end # context - end # describe end # module end # module # End of file