Method: InspecRspecJson#stop

Defined in:
lib/inspec/rspec_json_formatter.rb

#stop(notification) ⇒ Object



112
113
114
115
116
117
118
119
120
121
122
# File 'lib/inspec/rspec_json_formatter.rb', line 112

def stop(notification)
  super(notification)

  @output_hash[:other_checks] = examples_without_controls
  @output_hash[:profiles] = profiles_info

  examples_with_controls.each do |example|
    control = example2control(example)
    move_example_into_control(example, control)
  end
end