Skip to content

Commit

Permalink
fix spec helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jhongturney committed Sep 13, 2024
1 parent 73ed2bd commit 1d29a1f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/integration/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d29a1f

Please sign in to comment.