Sha256: f784f008d652e66599b01714f7b71660203ec8a0bdd46f19a073cb0c01d80bf8
Contents?: true
Size: 419 Bytes
Versions: 26
Compression:
Stored size: 419 Bytes
Contents
require 'inspec/attribute_registry' require 'rspec/core/example_group' # This file allows you to add ExampleGroups to be used in rspec tests # class RSpec::Core::ExampleGroup # This DSL method allows us to access the values of attributes within InSpec tests def attribute(name) Inspec::AttributeRegistry.find_attribute(name, self.class.metadata[:profile_id]).value end define_example_method :attribute end
Version data entries
26 entries across 26 versions & 2 rubygems