1 require 'spec_helper_acceptance'
3 describe 'swapcase function' do
7 notice(inline_template('swapcase is <%= @o.inspect %>'))
9 it 'works with strings' do
10 apply_manifest(pp, :catch_failures => true) do |r|
11 expect(r.stdout).to match(%r{swapcase is "AbCd"})
14 it 'works with arrays'
17 it 'handles no arguments'
18 it 'handles non arrays or strings'