diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2014-11-11 10:46:01 -0800 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2014-11-11 10:46:01 -0800 |
commit | 970141e36aa454bc557d44c1962129afef39d4f2 (patch) | |
tree | 0c5a9a96662ea5bacc86a3766a83cf2aa0e66246 /spec | |
parent | 0a8963fbd384a477ee69917b4dd4c0bb405bc153 (diff) | |
download | puppet-stdlib-970141e36aa454bc557d44c1962129afef39d4f2.tar.gz puppet-stdlib-970141e36aa454bc557d44c1962129afef39d4f2.tar.bz2 |
Correct type() logic
It should NOT run if the future parser is enabled
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/acceptance/type_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/type_spec.rb b/spec/acceptance/type_spec.rb index 15fa217..67e3248 100755 --- a/spec/acceptance/type_spec.rb +++ b/spec/acceptance/type_spec.rb @@ -1,7 +1,7 @@ #! /usr/bin/env ruby -S rspec require 'spec_helper_acceptance' -describe 'type function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || !(is_future_parser_enabled?)) do +describe 'type function', :unless => (UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) || is_future_parser_enabled?) do describe 'success' do it 'types arrays' do pp = <<-EOS |