From: David Schmitt Date: Thu, 9 Apr 2015 14:56:43 +0000 (+0100) Subject: spec_helper_acceptance: fix FUTURE_PARSER usage X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c0cf14e77405ba3a0b7ae471d1ee1c249c7d4da8;p=puppet-stdlib.git spec_helper_acceptance: fix FUTURE_PARSER usage Use the more common "yes", instead of "true" to detect FUTURE_PARSER. --- diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 3203ce9..79b1390 100755 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -33,7 +33,7 @@ RSpec.configure do |c| # Configure all nodes in nodeset c.before :suite do - if ENV['FUTURE_PARSER'] == 'true' + if ENV['FUTURE_PARSER'] == 'yes' default[:default_apply_opts] ||= {} default[:default_apply_opts].merge!({:parser => 'future'}) end