Method: Inspec::RunnerRspec#reset

Defined in:
lib/inspec/runner_rspec.rb

#resetnil

Empty the list of registered tests.

Returns:

  • (nil)


126
127
128
129
130
131
# File 'lib/inspec/runner_rspec.rb', line 126

def reset
  @tests = RSpec::Core::World.new
  # resets "pending examples" in reporter
  RSpec.configuration.reset
  configure_output
end