1 require 'spec_helper_acceptance'
3 describe 'hash function' do
6 $a = ['aaa','bbb','bbb','ccc','ddd','eee']
7 $b = { 'aaa' => 'bbb', 'bbb' => 'ccc', 'ddd' => 'eee' }
10 notify { 'output correct': }
14 apply_manifest(pp, :catch_failures => true) do |r|
15 expect(r.stdout).to match(%r{Notice: output correct})
18 it 'handles odd-length arrays'
21 it 'handles improper argument counts'
22 it 'handles non-arrays'