summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Fields <travis@puppetlabs.com>2014-10-28 15:35:56 -0700
committerTravis Fields <travis@puppetlabs.com>2014-10-28 15:35:56 -0700
commit5497f83507fcaf24accff26d08ae61d9e7e36673 (patch)
treefdf6b4fb6e8c916935b58d7fcfc4f33b3549f806
parenta6f3f781d195c6fc0b263fc4eb46ef274d360627 (diff)
downloadpuppet-stdlib-5497f83507fcaf24accff26d08ae61d9e7e36673.tar.gz
puppet-stdlib-5497f83507fcaf24accff26d08ae61d9e7e36673.tar.bz2
Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
-rwxr-xr-xspec/acceptance/ensure_packages_spec.rb2
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", }')