Suggest different variables to use if we want to tunnel both v4 and v6
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / swapcase_spec.rb
1 require 'spec_helper_acceptance'
2
3 describe 'swapcase function' do
4   describe 'success' do
5     pp = <<-DOC
6       $o = swapcase('aBcD')
7       notice(inline_template('swapcase is <%= @o.inspect %>'))
8     DOC
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"})
12       end
13     end
14     it 'works with arrays'
15   end
16   describe 'failure' do
17     it 'handles no arguments'
18     it 'handles non arrays or strings'
19   end
20 end