Add windows test exclusion to ensure_resource
This commit is contained in:
parent
9f68fd300f
commit
2b1cc82d24
1 changed files with 1 additions and 1 deletions
|
@ -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", }')
|
||||
|
|
Loading…
Reference in a new issue