diff options
author | Travis Fields <travis@puppetlabs.com> | 2014-10-28 15:35:56 -0700 |
---|---|---|
committer | Travis Fields <travis@puppetlabs.com> | 2014-10-28 15:35:56 -0700 |
commit | 5497f83507fcaf24accff26d08ae61d9e7e36673 (patch) | |
tree | fdf6b4fb6e8c916935b58d7fcfc4f33b3549f806 /spec/acceptance | |
parent | a6f3f781d195c6fc0b263fc4eb46ef274d360627 (diff) |
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
Diffstat (limited to 'spec/acceptance')
-rwxr-xr-x | spec/acceptance/ensure_packages_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/ensure_packages_spec.rb b/spec/acceptance/ensure_packages_spec.rb index 53c1035..9d39220 100755 --- a/spec/acceptance/ensure_packages_spec.rb +++ b/spec/acceptance/ensure_packages_spec.rb @@ -1,7 +1,7 @@ #! /usr/bin/env ruby -S rspec require 'spec_helper_acceptance' -describe 'ensure_packages function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || fact('operatingsystem') != 'windows') do +describe 'ensure_packages function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) && fact('operatingsystem') != 'windows') do describe 'success' do it 'ensure_packages a package' do apply_manifest('package { "rake": ensure => absent, provider => "gem", }') |