Sha256: 55c6c9996edc4709408499748777498e44f3f8b3abd3ac0d2922baf59baa0a3e

Contents?: true

Size: 412 Bytes

Versions: 544

Compression:

Stored size: 412 Bytes

Contents

require 'spec_helper'
require 'puppet_spec/scope'

describe 'Puppet::Parser::Functions#hiera_include' 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_include(['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-6.27.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.27.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.27.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.27.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.16.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.16.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.16.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.16.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.15.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.15.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.15.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.15.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.26.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.26.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.26.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-6.26.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.14.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.14.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.14.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-7.14.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb