Sha256: e1abfee72f68e7f4a81d9e8758b28c9521fc54e63f4ef182b365e32839eb4dd6

Contents?: true

Size: 308 Bytes

Versions: 7

Compression:

Stored size: 308 Bytes

Contents

require 'spec_helper'
module Sexpr
  describe Grammar, "new" do

    subject{ Grammar.new }

    it 'factors a module' do
      subject.should be_a(Grammar)
      subject.should be_a(Grammar::Options)
      subject.should be_a(Grammar::Matching)
      subject.should be_a(Grammar::Parsing)
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sexpr-1.1.0 spec/unit/grammar/test_new.rb
sexpr-1.0.0 spec/unit/grammar/test_new.rb
sexpr-0.6.0 spec/unit/grammar/test_new.rb
sexpr-0.5.1 spec/grammar/test_new.rb
sexpr-0.5.0 spec/grammar/test_new.rb
sexpr-0.4.0 spec/grammar/test_new.rb
sexpr-0.3.0 spec/grammar/test_new.rb