X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=16764b6ff147ab99bf87cf2f9a86af7fdb864ac2;hb=f9ea9bd0276216cecc1471fd0c6222112ffc6b47;hp=c09e0024da88e5dc36642b80f75efdc9887a6065;hpb=63878326cdce720172e7b0d1f8300751824d6d6c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c09e002..16764b6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec.configure do |c| c.mock_with :rspec end @@ -40,6 +42,7 @@ RSpec.configure do |c| # set to strictest setting for testing # by default Puppet runs at warning level Puppet.settings[:strict] = :warning + Puppet.settings[:strict_variables] = true end c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT'] c.after(:suite) do