summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-11-11 10:46:01 -0800
committerHunter Haugen <hunter@puppetlabs.com>2014-11-11 10:46:01 -0800
commit970141e36aa454bc557d44c1962129afef39d4f2 (patch)
tree0c5a9a96662ea5bacc86a3766a83cf2aa0e66246 /spec
parent0a8963fbd384a477ee69917b4dd4c0bb405bc153 (diff)
downloadpuppet-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-xspec/acceptance/type_spec.rb2
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