From 6fc5d565e75b8e49050126e8f6b829b2109989be Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 26 Jun 2024 22:30:36 +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 cb28c684..6d2a69c3 100644 --- a/.sync.yml +++ b/.sync.yml @@ -4,3 +4,4 @@ timeout_minutes: 75 spec/spec_helper.rb: spec_overrides: "require 'spec_helper_methods'" + facterdb_string_keys: true diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 46d4c7f1..2f99127a 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'))