class ChefSpec::Coverage

def add(resource)

Parameters:
  • resource (Chef::Resource) --
def add(resource)
  if !exists?(resource) && !filtered?(resource)
    @collection[resource.to_s] = ResourceWrapper.new(resource)
  end
end