Sha256: 23bb7b2bd1cee6345540b17ace6851f94eb62554a17e57688ec079711c4b7c5a

Contents?: true

Size: 382 Bytes

Versions: 74

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'
require 'puppet_spec/scope'

describe 'Puppet::Parser::Functions#hiera_array' 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_array(['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_array_spec.rb
puppet-4.7.1-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.1-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.1-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.7.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.2 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.2-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.2-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.2-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.1-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.1 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.1-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.6.1-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.5.3 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.5.3-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.5.3-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-4.5.3-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb