Module: SectionTestModule
- Included in:
- AUPSTestKit::BasicTest
- Defined in:
- lib/au_ps_inferno/utils/section_test_module.rb
Overview
A base class for all tests that validate sections of the AU PS Bundle
Instance Method Summary collapse
Instance Method Details
#entry_resources_info ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/au_ps_inferno/utils/section_test_module.rb', line 9 def entry_resources_info group_section_output(resolve_path_with_dar(scratch_bundle, 'entry.resource').map do |resource| resource_type = resolve_path_with_dar(resource, 'resourceType').first profiles = resolve_path_with_dar(resource, 'meta.profile').sort profiles.empty? ? resource_type : "#{resource_type} (#{profiles.join(', ')})" end).join("\n\n") end |