Skip to content

Commit

Permalink
Remove redundant mock_with default to rspec
Browse files Browse the repository at this point in the history
Since puppetlabs_spec_helper 5.0.0 this is the default and our gemspec
declares 7.3+ as the version, making this redundant.
  • Loading branch information
ekohl committed Jun 21, 2024
1 parent c60bd11 commit 4690073
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/voxpupuli/test/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
RSpec.configure do |config|
# puppetlabs_spec_helper defaults to mocha but emits a deprecation warning
# Vox Pupuli prefers rspec to avoid the deprecation warning unless explicitly
# set
if config.instance_variable_get(:@mock_framework).nil?
config.mock_with :rspec
end
end

require 'voxpupuli/test/facts'
require 'puppetlabs_spec_helper/module_spec_helper'

Expand Down

0 comments on commit 4690073

Please sign in to comment.