Suggest different variables to use if we want to tunnel both v4 and v6
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / base64_spec.rb
1 require 'spec_helper_acceptance'
2
3 describe 'base64 function' do
4   describe 'success' do
5     pp = <<-DOC
6       $encodestring = base64('encode', 'thestring')
7       $decodestring = base64('decode', $encodestring)
8       notify { $decodestring: }
9     DOC
10     it 'encodes then decode a string' do
11       apply_manifest(pp, :catch_failures => true) do |r|
12         expect(r.stdout).to match(%r{thestring})
13       end
14     end
15   end
16 end