From 1d29a1f51aa5124b642eaa4032d4c66efdae68ef Mon Sep 17 00:00:00 2001 From: jhongturney Date: Fri, 13 Sep 2024 15:13:17 -0700 Subject: [PATCH] fix spec helper --- spec/integration/spec/spec_helper.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spec/integration/spec/spec_helper.rb b/spec/integration/spec/spec_helper.rb index aec23dd..dc2c4d6 100644 --- a/spec/integration/spec/spec_helper.rb +++ b/spec/integration/spec/spec_helper.rb @@ -15,10 +15,8 @@ def repo_root RSpec.configure do |c| c.module_path = File.join(puppet_root, "modules") c.hiera_config = File.join(puppet_root, "hiera.yaml") - c.manifest_dir = File.join(puppet_root, "manifests") + # c.manifest_dir = File.join(puppet_root, "manifests") c.manifest = File.join(puppet_root, "manifests", "defaults.pp") - c.add_setting :octofacts_fixture_path - c.octofacts_fixture_path = File.join(repo_root, "spec", "fixtures", "facts") - c.add_setting :octofacts_index_path - c.octofacts_index_path = File.join(repo_root, "spec", "fixtures", "index.yaml") + c.add_setting :octofacts_fixture_path, default: File.join(repo_root, "spec", "fixtures", "facts") + c.add_setting :octofacts_index_path, default: File.join(repo_root, "spec", "fixtures", "index.yaml") end