From 4690073ef7dc55686175cc9bfa5aa7fb5df06746 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 21 Jun 2024 13:03:56 +0200 Subject: [PATCH] Remove redundant mock_with default to rspec Since puppetlabs_spec_helper 5.0.0 this is the default and our gemspec declares 7.3+ as the version, making this redundant. --- lib/voxpupuli/test/spec_helper.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/voxpupuli/test/spec_helper.rb b/lib/voxpupuli/test/spec_helper.rb index 4e806fc..68b030a 100644 --- a/lib/voxpupuli/test/spec_helper.rb +++ b/lib/voxpupuli/test/spec_helper.rb @@ -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'