Skip to content

Commit 64bb678

Browse files
committed
Fix test again
1 parent 9adfdac commit 64bb678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/classes/init_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@
460460
it do
461461
expect {
462462
should contain_class('nsswitch')
463-
}.to raise_error(Puppet::Error,/\["not", "a", "string"\] is not a blah/)
463+
}.to raise_error(Puppet::Error,/\["not", "a", "string"\] is not a string/)
464464
end
465465
end
466466

@@ -471,7 +471,7 @@
471471
it do
472472
expect {
473473
should contain_class('nsswitch')
474-
}.to raise_error(Puppet::Error,/\["not", "a", "string"\] is not a blubb/)
474+
}.to raise_error(Puppet::Error,/\["not", "a", "string"\] is not a string/)
475475
end
476476
end
477477

0 commit comments

Comments
 (0)