Sha256: 6ed2e51796de22c4e6db6ab7ca5eaf956e47d679cdc118212448bb7c6308a7c6
Contents?: true
Size: 864 Bytes
Versions: 34
Compression:
Stored size: 864 Bytes
Contents
# Matchers for chefspec 3 if defined?(ChefSpec) def create_yum_repository(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :create, resource_name) end def add_yum_repository(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :add, resource_name) end def delete_yum_repository(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :delete, resource_name) end def remove_yum_repository(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_repository, :remove, resource_name) end def create_yum_globalconfig(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :create, resource_name) end def delete_yum_globalconfig(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:yum_globalconfig, :delete, resource_name) end end
Version data entries
34 entries across 34 versions & 3 rubygems