Page MenuHomeSoftware Heritage

No OneTemporary

diff --git a/spec/acceptance/unsupported_spec.rb b/spec/acceptance/unsupported_spec.rb
index 5a89cd21..f3efa5f5 100644
--- a/spec/acceptance/unsupported_spec.rb
+++ b/spec/acceptance/unsupported_spec.rb
@@ -1,13 +1,13 @@
equire 'spec_helper_acceptance'
describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
it 'should fail' do
pp = <<-EOS
class { 'apache': }
apache::vhost { 'test.lan':
docroot => '/var/www',
}
EOS
- expect(apply_manifest(pp, :expect_failures => true).to match(/is not supported/))
+ expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/is not supported/)
end
end

File Metadata

Mime Type
text/x-diff
Expires
Mon, Aug 25, 5:53 PM (4 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3465507

Event Timeline