Sha256: 7db34edab21e92fc1bd6d3ab46f8ef420ddfae4633245c817965a9cfb83b0c5f

Contents?: true

Size: 254 Bytes

Versions: 91

Compression:

Stored size: 254 Bytes

Contents

require 'puppet/pops'

require File.join(File.dirname(__FILE__), '/../factory_rspec_helper')

module ParserRspecHelper
  include FactoryRspecHelper
  def parse(code)
    parser = Puppet::Pops::Parser::Parser.new()
    parser.parse_string(code)
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
puppet-3.3.0 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.0.rc3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.3.0.rc2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.4 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.3 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.3.rc1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.1.rc1 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.0.rc2 spec/unit/pops/parser/parser_rspec_helper.rb
puppet-3.2.0.rc1 spec/unit/pops/parser/parser_rspec_helper.rb