Skip to content

Commit

Permalink
Use our spec_helper for tests
Browse files Browse the repository at this point in the history
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: voxpupuli#125
  • Loading branch information
bastelfreak committed May 24, 2024
1 parent ff60432 commit 239bed6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion spec/facts_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'spec_helper'
require 'voxpupuli/test/facts'

describe 'override_facts' do
let(:base_facts) do
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
end

require 'rspec/core'
require 'voxpupuli/test/spec_helper'

0 comments on commit 239bed6

Please sign in to comment.