diff options
author | Morgan Haskel <morgan@puppetlabs.com> | 2014-11-10 17:15:11 -0800 |
---|---|---|
committer | Morgan Haskel <morgan@puppetlabs.com> | 2014-11-10 17:15:11 -0800 |
commit | 0a8963fbd384a477ee69917b4dd4c0bb405bc153 (patch) | |
tree | 0fbc4c4d58cfb2906a999f92a98ee51150c88dae /spec/acceptance/ensure_resource_spec.rb | |
parent | d8b86fdcc2711bff15a169552641e6fec0546ccd (diff) | |
parent | 4949cfd21cb97b17006d82f2f192ec9d01b0d1ee (diff) |
Merge pull request #357 from hunner/hasInterfaceWithLookupBug
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
Diffstat (limited to 'spec/acceptance/ensure_resource_spec.rb')
-rwxr-xr-x | spec/acceptance/ensure_resource_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/ensure_resource_spec.rb b/spec/acceptance/ensure_resource_spec.rb index f1bfa54..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')) || fact('osfamily') == 'windows') 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", }') |