Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392590
warnings_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
659 B
Subscribers
None
warnings_spec.rb
View Options
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
Details
Attached
Mime Type
text/x-ruby
Expires
Jun 4 2025, 7:00 PM (10 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398907
Attached To
rSPCAT puppet-puppetlabs-concat
Event Timeline
Log In to Comment