Skip to content

Commit 1a67e1a

Browse files
committed
Add missing require 'pp'
When using `PP.pp` you still have to `require 'pp'`. Fixes `uninitialized constant RSpec::LintExampleGroup::HaveProblem::PP` Also see related discussion in rubocop/rubocop#11099 (comment)
1 parent 5032394 commit 1a67e1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
require 'puppet-lint'
2424
require 'rspec/its'
25+
require 'pp'
2526
begin
2627
require 'rspec/json_expectations'
2728
rescue LoadError, SyntaxError

0 commit comments

Comments
 (0)