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