diff options
author | Morgan Haskel <morgan@puppetlabs.com> | 2014-11-11 10:47:00 -0800 |
---|---|---|
committer | Morgan Haskel <morgan@puppetlabs.com> | 2014-11-11 10:47:00 -0800 |
commit | 202e3707cfdf81b15ec6989fcc3b696e7f01b293 (patch) | |
tree | 0c5a9a96662ea5bacc86a3766a83cf2aa0e66246 /spec | |
parent | 0a8963fbd384a477ee69917b4dd4c0bb405bc153 (diff) | |
parent | 970141e36aa454bc557d44c1962129afef39d4f2 (diff) |
Merge pull request #358 from hunner/fix_type
Correct type() logic
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 |