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: I6bc63343597f1b574f9da5beaae187dcc2b3485d
This commit is contained in:
@@ -28,7 +28,7 @@ describe 'neutron::agents::dhcp' do
|
||||
default_params.merge(params)
|
||||
end
|
||||
|
||||
it { should include_class('neutron::params') }
|
||||
it { should contain_class('neutron::params') }
|
||||
|
||||
it_configures 'dnsmasq dhcp_driver'
|
||||
|
||||
|
Reference in New Issue
Block a user