has_ip_network doesn't work on windows either

This commit is contained in:
Hunter Haugen 2014-06-26 13:12:39 -07:00
parent 418c0ac012
commit b93f71f0ce

View file

@ -1,7 +1,7 @@
#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
describe 'has_ip_network function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
describe 'has_ip_network function', :unless => ((UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem'))) or (fact('osfamily') == 'windows')) do
describe 'success' do
it 'has_ip_network existing ipaddress' do
pp = <<-EOS