end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /source entry without specifying a location/)
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /lsbdistcodename fact not available: release parameter required/)
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /invalid value for pin/)
end
end