Using contain_class instead of include_class
Per rspec-puppet-1.0.1 warning: DEPRECATION: include_class is deprecated. Use contain_class instead. Called from .../vendor/gems/rspec-puppet-1.0.1/lib/rspec-puppet/ matchers/include_class.rb:7 Change-Id: I6b410bc4d294bdc6f4feb65a18b213f88b5184f1
This commit is contained in:
parent
cddbbbde52
commit
1ebd77b282
@ -39,7 +39,7 @@ describe 'cinder::backup' do
|
||||
default_params.merge(params)
|
||||
end
|
||||
|
||||
it { should include_class('cinder::params') }
|
||||
it { should contain_class('cinder::params') }
|
||||
|
||||
it 'installs cinder backup package' do
|
||||
if platform_params.has_key?(:backup_package)
|
||||
|
@ -10,7 +10,7 @@ describe 'cinder::scheduler' do
|
||||
|
||||
describe 'with default parameters' do
|
||||
|
||||
it { should include_class('cinder::params') }
|
||||
it { should contain_class('cinder::params') }
|
||||
|
||||
it { should contain_package('cinder-scheduler').with(
|
||||
:name => 'cinder-scheduler',
|
||||
@ -49,7 +49,7 @@ describe 'cinder::scheduler' do
|
||||
|
||||
describe 'with default parameters' do
|
||||
|
||||
it { should include_class('cinder::params') }
|
||||
it { should contain_class('cinder::params') }
|
||||
|
||||
it { should contain_service('cinder-scheduler').with(
|
||||
:name => 'openstack-cinder-scheduler',
|
||||
|
Loading…
x
Reference in New Issue
Block a user