1 #! /usr/bin/env ruby -S rspec
2 require 'spec_helper_acceptance'
4 describe 'floor function' do
12 notify { 'output correct': }
16 apply_manifest(pp, :catch_failures => true) do |r|
17 expect(r.stdout).to match(/Notice: output correct/)
20 it 'floors integers' do
26 notify { 'output correct': }
30 apply_manifest(pp, :catch_failures => true) do |r|
31 expect(r.stdout).to match(/Notice: output correct/)
36 it 'handles improper argument counts'
37 it 'handles non-numbers'