Sha256: 44349bd482012729de2a01c93f154e379e32962c0a08c3d4757a1e01b6bab490

Contents?: true

Size: 386 Bytes

Versions: 74

Compression:

Stored size: 386 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, /converted to 4x API/)
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
puppet-4.7.1 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.1-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.1-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.1-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.0 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.0-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.0-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.7.0-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.2 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.2-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.2-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.2-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.1-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.1 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.1-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.6.1-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.5.3 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.5.3-x86-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.5.3-x64-mingw32 spec/unit/parser/functions/hiera_include_spec.rb
puppet-4.5.3-universal-darwin spec/unit/parser/functions/hiera_include_spec.rb