1 require 'spec_helper_acceptance'
3 describe 'str2bool function' do
7 notice(inline_template('str2bool is <%= @o.inspect %>'))
10 apply_manifest(pp, :catch_failures => true) do |r|
11 expect(r.stdout).to match(%r{str2bool is true})
17 it 'works with "true"'
22 it 'works with "false"'
26 it 'handles no arguments'
27 it 'handles non arrays or strings'