From c0b2e90be1089ad2cd5deb5b80ac6368bd49a061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Mon, 11 Dec 2023 10:51:32 -1000 Subject: [PATCH] Fix running the test suite The rspec-collection_matchers documentation advise to require rspec-collection_matchers form `spec_helper.rb`. This fix: ``` Failure/Error: expect(problems).to have(1).problems NoMethodError: undefined method `have' for # ``` --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4aa9e69..7060224 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,4 @@ require 'puppet-lint' +require 'rspec/collection_matchers' PuppetLint::Plugins.load_spec_helper