summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-11-25 14:22:14 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-11-25 14:22:14 +0100
commitd684f54a0d80a81a5bcead91a3ecf2b6056b37f4 (patch)
treefffe94e4f75ddeee9464ecfa7a73956263949a41 /spec
parentd9add1890064bca782a24b7048c79f3ff0fb33f1 (diff)
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