Module: RSpec::Puppet::TypeAliasExampleGroup
Instance Attribute Summary
Attributes included from Support
#adapter
Instance Method Summary
collapse
Methods included from Support
#build_catalog, #build_catalog_without_cache, #build_catalog_without_cache_v2, #build_code, #class_name, #environment, #escape_special_chars, #facts_hash, #find_pretend_platform, #fixture_spec_hiera_conf, #guess_type_from_path, #load_catalogue, #munge_facts, #node_params_hash, #nodename, #param_str, #param_str_from_hash, #post_cond, #pre_cond, #ref, #sanitise_resource_title, #sensitive, #server_facts_hash, #setup_puppet, #site_pp_str, #str_from_value, #stub_facts!, #stub_file_consts, #test_manifest, #trusted_external_data_hash, #trusted_facts_hash, #with_vardir
#raise_error
#allow_value
Instance Method Details
#catalogue(test_value) ⇒ Object
8
9
10
|
# File 'lib/rspec-puppet/example/type_alias_example_group.rb', line 8
def catalogue(test_value)
load_catalogue(:type_alias, false, test_value: test_value)
end
|
#subject ⇒ Object
12
13
14
|
# File 'lib/rspec-puppet/example/type_alias_example_group.rb', line 12
def subject
->(test_value) { catalogue(test_value) }
end
|