summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTravis Fields <travis@puppetlabs.com>2014-10-28 16:43:15 -0700
committerTravis Fields <travis@puppetlabs.com>2014-10-28 16:43:15 -0700
commit2b1cc82d2423c815f5aee8807e266c5e16495c36 (patch)
treefd2a31896a0d4117933ba1115063d737e6db6374 /spec
parent9f68fd300f8228f929b384a2df518aec63516ae6 (diff)
Add windows test exclusion to ensure_resource
Diffstat (limited to 'spec')
-rwxr-xr-xspec/acceptance/ensure_resource_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/ensure_resource_spec.rb b/spec/acceptance/ensure_resource_spec.rb
index 2aad243..c3d72fc 100755
--- a/spec/acceptance/ensure_resource_spec.rb
+++ b/spec/acceptance/ensure_resource_spec.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
-describe 'ensure_resource function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
+describe 'ensure_resource function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) && fact('osfamily') != 'windows') do
describe 'success' do
it 'ensure_resource a package' do
apply_manifest('package { "rake": ensure => absent, provider => "gem", }')