1 #! /usr/bin/env ruby -S rspec
2 require 'spec_helper_acceptance'
4 describe 'union function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
9 $b = ["art","galleries"]
10 # Anagram: Large picture halls, I bet
12 notice(inline_template('union is <%= @o.inspect %>'))
15 apply_manifest(pp, :catch_failures => true) do |r|
16 expect(r.stdout).to match(/union is \["the", "public", "art", "galleries"\]/)
21 it 'handles no arguments'
22 it 'handles non arrays'