1 #! /usr/bin/env ruby -S rspec
2 require 'spec_helper_acceptance'
4 describe 'max function' do
8 $o = max("the","public","art","galleries")
9 notice(inline_template('max is <%= @o.inspect %>'))
12 apply_manifest(pp, :catch_failures => true) do |r|
13 expect(r.stdout).to match(/max is "the"/)
18 it 'handles no arguments'