diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2015-08-24 14:36:20 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2015-08-24 14:36:20 +0100 |
commit | 24e57b5d2849982d5a927f43d698ff7f312ab93a (patch) | |
tree | 315a8a912f1bd8d17530b84bdb923b45596cae3d /spec/acceptance/union_spec.rb | |
parent | 1d89df906e1ae1d09a862974181663caaf8012c6 (diff) | |
parent | 1d9189d860f28067b72093cbe4027cf49b7d612c (diff) | |
download | puppet-stdlib-24e57b5d2849982d5a927f43d698ff7f312ab93a.tar.gz puppet-stdlib-24e57b5d2849982d5a927f43d698ff7f312ab93a.tar.bz2 |
Merge pull request #507 from Jetroid/mod2456
(MODULES-2456) Modify union to accept more than two arrays
Diffstat (limited to 'spec/acceptance/union_spec.rb')
-rwxr-xr-x | spec/acceptance/union_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/acceptance/union_spec.rb b/spec/acceptance/union_spec.rb index 6db8d0c..160fd7b 100755 --- a/spec/acceptance/union_spec.rb +++ b/spec/acceptance/union_spec.rb @@ -6,9 +6,10 @@ describe 'union function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('opera it 'unions arrays' do pp = <<-EOS $a = ["the","public"] - $b = ["art","galleries"] + $b = ["art"] + $c = ["galleries"] # Anagram: Large picture halls, I bet - $o = union($a,$b) + $o = union($a,$b,$c) notice(inline_template('union is <%= @o.inspect %>')) EOS |