Sha256: 301daf4a51576fc1a1f2730e48c45cff217c63484ce81d620fc592c8fe239944

Contents?: true

Size: 370 Bytes

Versions: 74

Compression:

Stored size: 370 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, /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_spec.rb
puppet-4.7.1-x86-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.1-x64-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.1-universal-darwin spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.0 spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.0-x86-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.0-x64-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.7.0-universal-darwin spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.2 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.2-x86-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.2-x64-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.2-universal-darwin spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.1-x86-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.1 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.1-x64-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.6.1-universal-darwin spec/unit/parser/functions/hiera_spec.rb
puppet-4.5.3 spec/unit/parser/functions/hiera_spec.rb
puppet-4.5.3-x86-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.5.3-x64-mingw32 spec/unit/parser/functions/hiera_spec.rb
puppet-4.5.3-universal-darwin spec/unit/parser/functions/hiera_spec.rb