projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not backup the Apache disk cache
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
openstacklib
/
spec
/
defines
/
openstacklib_service_validation_spec.rb
diff --git
a/3rdparty/modules/openstacklib/spec/defines/openstacklib_service_validation_spec.rb
b/3rdparty/modules/openstacklib/spec/defines/openstacklib_service_validation_spec.rb
index
17e4389
..
cc196f0
100644
(file)
--- a/
3rdparty/modules/openstacklib/spec/defines/openstacklib_service_validation_spec.rb
+++ b/
3rdparty/modules/openstacklib/spec/defines/openstacklib_service_validation_spec.rb
@@
-32,7
+32,7
@@
describe 'openstacklib::service_validation' do
required_params
end
required_params
end
- it {
should
contain_exec("execute #{title} validation").with(
+ it {
is_expected.to
contain_exec("execute #{title} validation").with(
:path => '/usr/bin:/bin:/usr/sbin:/sbin',
:provider => 'shell',
:command => 'nova list',
:path => '/usr/bin:/bin:/usr/sbin:/sbin',
:provider => 'shell',
:command => 'nova list',
@@
-40,7
+40,7
@@
describe 'openstacklib::service_validation' do
:try_sleep => '2',
)}
:try_sleep => '2',
)}
- it {
should
contain_anchor("create #{title} anchor").with(
+ it {
is_expected.to
contain_anchor("create #{title} anchor").with(
:require => "Exec[execute #{title} validation]",
)}
:require => "Exec[execute #{title} validation]",
)}
@@
-50,7
+50,7
@@
describe 'openstacklib::service_validation' do
let :params do
required_params.delete(:command)
end
let :params do
required_params.delete(:command)
end
- it { expect {
should
raise_error(Puppet::Error) } }
+ it { expect {
is_expected.to
raise_error(Puppet::Error) } }
end
end
end
end