1 require 'spec_helper_acceptance'
3 describe 'getparam function' do
7 message => 'custom rspec message',
9 $o = getparam(Notify['rspec'], 'message')
10 notice(inline_template('getparam is <%= @o.inspect %>'))
12 it 'getparam a notify' do
13 apply_manifest(pp, :catch_failures => true) do |r|
14 expect(r.stdout).to match(%r{getparam is "custom rspec message"})
19 it 'handles no arguments'
20 it 'handles non strings'