Skip to content

Commit 96916a4

Browse files
authored
Merge pull request #162 from puppetlabs/maint-fix_specs
(maint) - Fix undefined method have
2 parents 833b021 + f515de7 commit 96916a4

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)