Sha256: 819cfb51de26f19d7433e8cd6e33c3fcedcf48d216dceb4e332dc1bc1cead0b9

Contents?: true

Size: 408 Bytes

Versions: 544

Compression:

Stored size: 408 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, /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-7.20.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.20.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.20.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.20.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.19.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.19.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.19.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.19.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.18.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.18.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.18.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-6.28.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.18.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-6.28.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-6.28.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-6.28.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.17.0 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.17.0-x86-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.17.0-x64-mingw32 spec/unit/parser/functions/hiera_array_spec.rb
puppet-7.17.0-universal-darwin spec/unit/parser/functions/hiera_array_spec.rb