mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-23 12:18:04 +00:00
21 lines
470 B
Ruby
Executable File
21 lines
470 B
Ruby
Executable File
#! /usr/bin/env ruby -S rspec
|
|
require 'spec_helper_acceptance'
|
|
|
|
describe 'min function' 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
|