Sha256: 39bfdc63963f990920cc0c6dcd23ba0967204778cf61a3ef6857b37e98d1616e

Contents?: true

Size: 406 Bytes

Versions: 544

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'
require 'puppet_spec/scope'

describe 'Puppet::Parser::Functions#hiera_hash' 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_hash(['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

Version Path
puppet-8.3.0 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.0-x86-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.0-x64-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.0-universal-darwin spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.4.0 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.4.0-x86-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.4.0-x64-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.4.0-universal-darwin spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.28.0 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.28.0-x86-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.28.0-x64-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.28.0-universal-darwin spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.1 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.1-x86-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.1-x64-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-8.3.1-universal-darwin spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.27.0 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.27.0-x86-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.27.0-x64-mingw32 spec/unit/parser/functions/hiera_hash_spec.rb
puppet-7.27.0-universal-darwin spec/unit/parser/functions/hiera_hash_spec.rb