Skip to content

Commit 564a240

Browse files
authored
Merge pull request #443 from gimmyxd/master
(maint) fix failing tests due to rspec changes
2 parents b9350e6 + ce79bc6 commit 564a240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/puppet_agent_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def global_facts(facts, os)
298298
end
299299
let(:params) { global_params }
300300

301-
it { is_expected.to raise_error(Puppet::Error, %r{Nexenta not supported}) }
301+
it { expect { catalogue }.to raise_error(Puppet::Error, %r{Nexenta not supported}) }
302302
end
303303
end
304304
end

0 commit comments

Comments
 (0)