1 require 'spec_helper_acceptance'
3 describe 'base64 function' do
6 $encodestring = base64('encode', 'thestring')
7 $decodestring = base64('decode', $encodestring)
8 notify { $decodestring: }
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})