Skip to content

Commit

Permalink
Merge pull request #138 from ekohl/simplify-code
Browse files Browse the repository at this point in the history
Remove redundant mock_with default to rspec
  • Loading branch information
bastelfreak authored Jun 21, 2024
2 parents c60bd11 + 4690073 commit 0369193
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 0369193

Please sign in to comment.