1 #! /usr/bin/env ruby -S rspec
2 require 'spec_helper_acceptance'
4 describe 'difference function' do
6 it 'returns non-duplicates in the first array' do
11 $o = difference($a, $b)
13 notify { 'output correct': }
17 apply_manifest(pp, :catch_failures => true) do |r|
18 expect(r.stdout).to match(/Notice: output correct/)
23 it 'handles non-array arguments'
24 it 'handles improper argument counts'