We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c19d8 commit 2442ddaCopy full SHA for 2442dda
spec/unit/util/logging_spec.rb
@@ -455,7 +455,7 @@ def run(exception_class)
455
expect(log.message).to_not match('/logging_spec.rb')
456
expect(log.backtrace[0]).to match('/logging_spec.rb')
457
458
- expect(log.backtrace.any? { |l| l =~ /\/tmp\/test2\.pp:20/ }).to be true
+ expect(log.backtrace).to include(/\/tmp\/test2\.pp:20/)
459
puppetstack = log.backtrace.select { |l| l =~ /tmp\/test\d\.pp/ }
460
461
expect(puppetstack.length).to eq(3)
0 commit comments