diff options
author | Travis Fields <travis@puppetlabs.com> | 2014-10-28 15:31:37 -0700 |
---|---|---|
committer | Travis Fields <travis@puppetlabs.com> | 2014-10-28 15:31:37 -0700 |
commit | a6f3f781d195c6fc0b263fc4eb46ef274d360627 (patch) | |
tree | ab68f0ce8128817feb77c8b393809e01bad73ff7 /spec/acceptance/bool2num_spec.rb | |
parent | 9dea09297956f6f7ac0a75e83e9f3e2e5681432c (diff) | |
parent | cfc79e9831fb530b4a34bb79db119969b3a166b3 (diff) | |
download | puppet-stdlib-a6f3f781d195c6fc0b263fc4eb46ef274d360627.tar.gz puppet-stdlib-a6f3f781d195c6fc0b263fc4eb46ef274d360627.tar.bz2 |
Merge remote-tracking branch 'origin/4.3.x' back to master
Diffstat (limited to 'spec/acceptance/bool2num_spec.rb')
-rwxr-xr-x | spec/acceptance/bool2num_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/acceptance/bool2num_spec.rb b/spec/acceptance/bool2num_spec.rb index 7a70311..52ff75b 100755 --- a/spec/acceptance/bool2num_spec.rb +++ b/spec/acceptance/bool2num_spec.rb @@ -4,11 +4,11 @@ require 'spec_helper_acceptance' describe 'bool2num function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do describe 'success' do ['false', 'f', '0', 'n', 'no'].each do |bool| - it 'should convert a given boolean, #{bool}, to 0' do + it "should convert a given boolean, #{bool}, to 0" do pp = <<-EOS - $input = #{bool} + $input = "#{bool}" $output = bool2num($input) - notify { $output: } + notify { "$output": } EOS apply_manifest(pp, :catch_failures => true) do |r| @@ -18,11 +18,11 @@ describe 'bool2num function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('op end ['true', 't', '1', 'y', 'yes'].each do |bool| - it 'should convert a given boolean, #{bool}, to 1' do + it "should convert a given boolean, #{bool}, to 1" do pp = <<-EOS - $input = #{bool} + $input = "#{bool}" $output = bool2num($input) - notify { $output: } + notify { "$output": } EOS apply_manifest(pp, :catch_failures => true) do |r| |