From 662d1899260630ce5fa795f238729783d1a6b97f Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Thu, 20 Oct 2022 01:07:12 +0200 Subject: [PATCH] Load LintExampleGroup again in plugin tests Plugins also use the spec helper from puppet-lint. Until 5f80b77e9515eecbcdc108b522fb8a606b56f360 the expected directory structure was spec/puppet-lint/plugins but that changed. This reverts the change which means plugins don't have to move their files around. Fixes: 5f80b77e9515eecbcdc108b522fb8a606b56f360 --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 158b191c..06c4ad69 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -134,7 +134,7 @@ def subject config.include( RSpec::LintExampleGroup, type: :lint, - file_path: Regexp.compile(['spec', 'unit', 'puppet-lint', 'plugins'].join('[\\\/]')), + file_path: Regexp.compile(['spec', 'puppet-lint', 'plugins'].join('[\\\/]')), ) config.expect_with(:rspec) do |c|