From 0c4c0f5fc6e558787d619bc486f7eef5479b155a Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 26 Jun 2024 22:25:20 +0200 Subject: [PATCH] facterdb_string_keys: switch to strings --- .sync.yml | 1 + spec/spec_helper.rb | 4 ++++ 2 files changed, 5 insertions(+) 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'))