diff options
author | Colleen Murphy <cmurphy@users.noreply.github.com> | 2014-10-28 15:37:46 -0700 |
---|---|---|
committer | Colleen Murphy <cmurphy@users.noreply.github.com> | 2014-10-28 15:37:46 -0700 |
commit | 6e94a700f2f63eddde6b3d96e8063817f5670434 (patch) | |
tree | fdf6b4fb6e8c916935b58d7fcfc4f33b3549f806 | |
parent | a6f3f781d195c6fc0b263fc4eb46ef274d360627 (diff) | |
parent | 5497f83507fcaf24accff26d08ae61d9e7e36673 (diff) | |
download | puppet-stdlib-6e94a700f2f63eddde6b3d96e8063817f5670434.tar.gz puppet-stdlib-6e94a700f2f63eddde6b3d96e8063817f5670434.tar.bz2 |
Merge pull request #345 from cyberious/master
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
-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", }') |