Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #504 from mhaskel/fix_tests
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
ppa_spec.rb
diff --git
a/spec/defines/ppa_spec.rb
b/spec/defines/ppa_spec.rb
index 521b42ba2b47897fc99b9c8b59f5769b73dfac59..7046475736e9b4d58f3e7e8961a3a265a5b7fbff 100644
(file)
--- a/
spec/defines/ppa_spec.rb
+++ b/
spec/defines/ppa_spec.rb
@@
-279,7
+279,7
@@
describe 'apt::ppa' do
let(:title) { 'ppa:foo' }
it do
expect {
let(:title) { 'ppa:foo' }
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /lsbdistcodename fact not available: release parameter required/)
end
end
}.to raise_error(Puppet::Error, /lsbdistcodename fact not available: release parameter required/)
end
end
@@
-297,7
+297,7
@@
describe 'apt::ppa' do
let(:title) { 'ppa:foo' }
it do
expect {
let(:title) { 'ppa:foo' }
it do
expect {
- is_expected.to compile
+ subject.call
}.to raise_error(Puppet::Error, /not currently supported on Debian/)
end
end
}.to raise_error(Puppet::Error, /not currently supported on Debian/)
end
end