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
36 37 38 39 40 41 42 |
# File 'lib/inspec/runner_rspec.rb', line 36 def add_profile(profile) RSpec.configuration.formatters .find_all { |c| c.is_a? InspecRspecFormatter } .each do |fmt| fmt.add_profile(profile) end end |