diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2014-11-25 14:20:22 +0100 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2014-11-25 14:20:22 +0100 |
commit | fe75c3cd416a10d5bc6fec0f64fe77a43d63ce0e (patch) | |
tree | fffe4c5ba4a96c2bd4bb874890f18793a73efb58 /spec | |
parent | 5e7d4efec33115463fc42dc07b5b864eb8978f9e (diff) |
Use parser=future
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 4 |
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 |