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: I3cf9ac1ff9549b5bb1182010d42e3beee1efa4cc
This commit is contained in:
parent
eb7c33bb1f
commit
2208119f8d
@ -3,7 +3,7 @@ require 'spec_helper'
|
||||
describe 'glance::client' do
|
||||
|
||||
shared_examples 'glance client' do
|
||||
it { should include_class('glance::params') }
|
||||
it { should contain_class('glance::params') }
|
||||
it { should contain_package('python-glanceclient').with(
|
||||
:name => 'python-glanceclient',
|
||||
:ensure => 'present'
|
||||
|
@ -18,7 +18,7 @@ describe 'glance::db::mysql' do
|
||||
}
|
||||
end
|
||||
|
||||
it { should include_class('mysql::python') }
|
||||
it { should contain_class('mysql::python') }
|
||||
|
||||
it { should contain_mysql__db('glance').with(
|
||||
:password => 'glancepass1',
|
||||
|
Loading…
Reference in New Issue
Block a user