Page MenuHomeSoftware Heritage

warnings_spec.rb
No OneTemporary

warnings_spec.rb

require 'spec_helper_acceptance'
describe 'warnings' do
before(:all) do
@basedir = setup_test_directory
end
context 'when concat::fragment target not found' do
let(:pp) do
<<-MANIFEST
concat { 'file':
path => '#{@basedir}/file',
}
concat::fragment { 'foo':
target => '#{@basedir}/bar',
content => 'bar',
}
MANIFEST
end
it 'applies manifests, check stderr' do
expect(apply_manifest(pp, expect_failures: true).stderr).to match 'not found in the catalog'
expect(apply_manifest(pp, expect_failures: true).stderr).to match 'not found in the catalog'
end
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Jun 4 2025, 7:00 PM (10 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398907

Event Timeline