From 239bed66ea55e7e4f4314d3d2d459932790559ef Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 24 May 2024 22:18:15 +0200 Subject: [PATCH] Use our spec_helper for tests Previously our tests didn't honour our spec/spec_helper.rb. This configures some rspec defaults for our Puppet modules. It makes sense that our tests use the same settings. This revealed some problems in other PRs: https://github.com/voxpupuli/voxpupuli-test/pull/125 --- spec/facts_spec.rb | 1 - spec/spec_helper.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/facts_spec.rb b/spec/facts_spec.rb index 0b29bd7..4be8735 100644 --- a/spec/facts_spec.rb +++ b/spec/facts_spec.rb @@ -1,5 +1,4 @@ require 'spec_helper' -require 'voxpupuli/test/facts' describe 'override_facts' do let(:base_facts) do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 73fb578..f1b254d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -23,3 +23,4 @@ end require 'rspec/core' +require 'voxpupuli/test/spec_helper'