Sha256: 403d46f55d280cf275cab13f8e9e982c25f68c47135e0bec224b3b42eb57b15c
Contents?: true
Size: 468 Bytes
Versions: 14
Compression:
Stored size: 468 Bytes
Contents
require 'spec_helper' require 'puppet/pops' describe Puppet::Pops::Parser::Parser do it "should instantiate a parser" do parser = Puppet::Pops::Parser::Parser.new() parser.class.should == Puppet::Pops::Parser::Parser end it "should parse a code string and return a model" do parser = Puppet::Pops::Parser::Parser.new() model = parser.parse_string("$a = 10").current model.class.should == Puppet::Pops::Model::AssignmentExpression end end
Version data entries
14 entries across 14 versions & 1 rubygems