diff --git a/.sync.yml b/.sync.yml index 85391cbb..b1966614 100644 --- a/.sync.yml +++ b/.sync.yml @@ -1,5 +1,6 @@ --- spec/spec_helper.rb: + facterdb_string_keys: true spec_overrides: - "Dir['./spec/support/**/*.rb'].sort.each { |f| require f }" spec/spec_helper_acceptance.rb: diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7954b88f..ff92c7a2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,6 +9,10 @@ require 'voxpupuli/test/spec_helper' +RSpec.configure do |c| + c.facterdb_string_keys = true +end + add_mocked_facts! if File.exist?(File.join(__dir__, 'default_module_facts.yml'))