1 require 'spec_helper_acceptance'
3 describe 'clamp function' do
11 notify { 'output correct': }
14 it 'clamps list of values' do
15 apply_manifest(pp1, :catch_failures => true) do |r|
16 expect(r.stdout).to match(%r{Notice: output correct})
25 notify { 'output correct': }
28 it 'clamps array of values' do
29 apply_manifest(pp2, :catch_failures => true) do |r|
30 expect(r.stdout).to match(%r{Notice: output correct})
35 it 'handles improper argument counts'
36 it 'handles no arguments'