Skip to content

Commit ce79bc6

Browse files
committed
(maint) fix failing tests due to rspec changes
This test was failing due to some changes on rspec-expectactions gems. More info here: rspec/rspec-expectations#1134
1 parent 286bf7b commit ce79bc6

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)