Sha256: 08a0b8151e106704710769afeb7ea963cd118f918230db81cd749c67d10e5dfe
Contents?: true
Size: 538 Bytes
Versions: 6
Compression:
Stored size: 538 Bytes
Contents
#! /usr/bin/env ruby -S rspec require 'spec_helper_acceptance' describe 'min function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do describe 'success' do it 'mins arrays' do pp = <<-EOS $o = min("the","public","art","galleries") notice(inline_template('min is <%= @o.inspect %>')) EOS apply_manifest(pp, :catch_failures => true) do |r| expect(r.stdout).to match(/min is "art"/) end end end describe 'failure' do it 'handles no arguments' end end
Version data entries
6 entries across 6 versions & 1 rubygems