Method: Inspec::RunnerRspec#backend=
- Defined in:
- lib/inspec/runner_rspec.rb
#backend=(backend) ⇒ nil
Configure the backend of the runner.
46 47 48 49 50 51 52 |
# File 'lib/inspec/runner_rspec.rb', line 46 def backend=(backend) RSpec.configuration.formatters .find_all { |c| c.is_a?(Inspec::Formatters::Base) } .each do |fmt| fmt.backend = backend end end |