Sha256: b0052ecb44e30f3be6cc66d95dfa10d775c552b8b60deb9d540876bf88478ecf
Contents?: true
Size: 396 Bytes
Versions: 544
Compression:
Stored size: 396 Bytes
Contents
require 'spec_helper' require 'puppet_spec/scope' describe 'Puppet::Parser::Functions#hiera' do include PuppetSpec::Scope let :scope do create_test_scope_for_node('foo') end it 'should raise an error since this function is converted to 4x API)' do expect { scope.function_hiera(['key']) }.to raise_error(Puppet::ParseError, /can only be called using the 4.x function API/) end end
Version data entries
544 entries across 544 versions & 1 rubygems