1 require 'spec_helper_acceptance'
3 describe 'max function', :if => Puppet::Util::Package.versioncmp(return_puppet_version, '6.0.0') < 0 do
6 $o = max("the","public","art","galleries")
7 notice(inline_template('max is <%= @o.inspect %>'))
10 apply_manifest(pp, :catch_failures => true) do |r|
11 expect(r.stdout).to match(%r{max is "the"})
16 it 'handles no arguments'