class ChefSpec::Matchers::ResourceMatcher

def resource

Returns:
  • (Chef::Resource, nil) -

Other tags:
    See: ChefSpec::SoloRunner#find_resource -
def resource
  @_resource ||= @runner.find_resource(@resource_name, @expected_identity, @expected_action)
end