Skip to content

Commit f515de7

Browse files
author
jordanbreen28
committed
(maint) - Fix undefined method have
1 parent 833b021 commit f515de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/puppet-lint/plugins/legacy_facts/legacy_facts_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
let(:code) { "$interface_facts['netmask']" }
473473

474474
it 'does not detect any problems' do
475-
expect(problems).to have(0).problem
475+
expect(problems.size).to eq(0)
476476
end
477477
end
478478
end

0 commit comments

Comments
 (0)