1 require 'spec_helper_acceptance'
3 describe 'ceiling function', :if => Puppet::Util::Package.versioncmp(return_puppet_version, '6.0.0') < 0 do
10 notify { 'output correct': }
13 it 'ceilings floats' do
14 apply_manifest(pp1, :catch_failures => true) do |r|
15 expect(r.stdout).to match(%r{Notice: output correct})
24 notify { 'output is correct': }
27 it 'ceilings integers' do
28 apply_manifest(pp2, :catch_failures => true) do |r|
29 expect(r.stdout).to match(%r{Notice: output is correct})
34 it 'handles improper argument counts'
35 it 'handles non-numbers'