Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path
This commit is contained in:
parent
a6f3f781d1
commit
5497f83507
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#! /usr/bin/env ruby -S rspec
|
#! /usr/bin/env ruby -S rspec
|
||||||
require 'spec_helper_acceptance'
|
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
|
describe 'success' do
|
||||||
it 'ensure_packages a package' do
|
it 'ensure_packages a package' do
|
||||||
apply_manifest('package { "rake": ensure => absent, provider => "gem", }')
|
apply_manifest('package { "rake": ensure => absent, provider => "gem", }')
|
||||||
|
|
Loading…
Reference in a new issue