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
Block this from running on unsupported platforms.
[puppet-modules/puppetlabs-apt.git]
/
spec
/
acceptance
/
unsupported_spec.rb
diff --git
a/spec/acceptance/unsupported_spec.rb
b/spec/acceptance/unsupported_spec.rb
index 08dca76b845390cd3e3a4444240db9b6682ebe17..3f7468530b91728f99cee6a59d4b0ef17b8b6b72 100644
(file)
--- a/
spec/acceptance/unsupported_spec.rb
+++ b/
spec/acceptance/unsupported_spec.rb
@@
-5,6
+5,6
@@
describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.incl
pp = <<-EOS
class { 'apt': }
EOS
pp = <<-EOS
class { 'apt': }
EOS
- expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/
unsupported
/i)
+ expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/
This module only works on Debian or derivatives like Ubuntu
/i)
end
end
end
end