summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Haskel <morgan@puppetlabs.com>2014-11-11 10:47:00 -0800
committerMorgan Haskel <morgan@puppetlabs.com>2014-11-11 10:47:00 -0800
commit202e3707cfdf81b15ec6989fcc3b696e7f01b293 (patch)
tree0c5a9a96662ea5bacc86a3766a83cf2aa0e66246
parent0a8963fbd384a477ee69917b4dd4c0bb405bc153 (diff)
parent970141e36aa454bc557d44c1962129afef39d4f2 (diff)
downloadpuppet-stdlib-202e3707cfdf81b15ec6989fcc3b696e7f01b293.tar.gz
puppet-stdlib-202e3707cfdf81b15ec6989fcc3b696e7f01b293.tar.bz2
Merge pull request #358 from hunner/fix_type
Correct type() logic
-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