Sha256: 47437f6407330ee8de3e148a6ca92b89e555d0434f59db2b37a2e06c9058192f
Contents?: true
Size: 488 Bytes
Versions: 74
Compression:
Stored size: 488 Bytes
Contents
#! /usr/bin/env ruby require 'spec_helper' describe "the split function" do before :all do Puppet::Parser::Functions.autoloader.loadall end before :each do node = Puppet::Node.new('localhost') compiler = Puppet::Parser::Compiler.new(node) @scope = Puppet::Parser::Scope.new(compiler) end it 'should raise a ParseError' do expect { @scope.function_split([ '130;236;254;10', ';']) }.to raise_error(Puppet::ParseError, /converted to 4x API/) end end
Version data entries
74 entries across 74 versions & 1 rubygems