Page MenuHomeSoftware Heritage

unsupported_spec.rb
No OneTemporary

unsupported_spec.rb

require 'spec_helper_acceptance'
describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
it 'should fail' do
pp = <<-EOS
class { 'ntp': }
EOS
expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/is not supported on an/i)
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Wed, Jun 4, 7:14 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3289455

Event Timeline