Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F11023658
empty_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
616 B
Subscribers
None
empty_spec.rb
View Options
require
'spec_helper_acceptance'
describe
'concat force empty parameter'
do
context
'should run successfully'
do
pp
=
<<-
EOS
concat { '/tmp/concat/file':
owner => root,
group => root,
mode => '0644',
force => true,
}
EOS
it
'applies the manifest twice with no stderr'
do
expect
(
apply_manifest
(
pp
,
:catch_failures
=>
true
)
.
stderr
)
.
to
eq
(
""
)
expect
(
apply_manifest
(
pp
,
:catch_changes
=>
true
)
.
stderr
)
.
to
eq
(
""
)
end
describe
file
(
'/tmp/concat/file'
)
do
it
{
should
be_file
}
it
{
should_not
contain
'1
\n
2'
}
end
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Thu, Sep 18, 4:55 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3379664
Attached To
rSPCAT puppet-puppetlabs-concat
Event Timeline
Log In to Comment