aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-11-25 14:20:34 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-11-25 14:20:34 +0100
commitc58bc1391546c7975933f31ade2b38b35e16919a (patch)
tree635b2fd90f9bbb633c12c514ce60727c4bc472fe /spec
parent4e621ebe89adcd75c5ba15d353b78d269e492753 (diff)
downloadpuppet-dhcp-c58bc1391546c7975933f31ade2b38b35e16919a.tar.gz
puppet-dhcp-c58bc1391546c7975933f31ade2b38b35e16919a.tar.bz2
Use parser=future
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index adbb191..98b22c3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -17,6 +17,10 @@ RSpec.configure do |c|
if Gem::Version.new(`puppet --version`) >= Gem::Version.new('3.5')
Puppet.settings[:strict_variables]=true
end
+
+ if ENV['PUPPET_PARSER'] == 'future'
+ Puppet.settings[:parser]='future'
+ end
end
c.after :each do