end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /is not a string/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /is not a string/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /is not a string/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /is not a string/)
end
end
end
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /pin must be either a string, number or hash/)
end
end