Method: Inspec::RunnerRspec#add_profile
- Defined in:
- lib/inspec/runner_rspec.rb
#add_profile(profile) ⇒ nil
Add a full profile to the runner. Only pulls in metadata
34 35 36 37 38 39 40 |
# File 'lib/inspec/runner_rspec.rb', line 34 def add_profile(profile) RSpec.configuration.formatters .find_all { |c| c.is_a?(Inspec::Formatters::Base) } .each do |fmt| fmt.add_profile(profile) end end |