inspec/test/unit/mock/reporters
Jerry Aldrich 20776b363d Add support for multiple descriptions for controls (#3424)
* Add support for multiple descriptions for controls

This adds the ability to specify multiple descriptions in controls.

Example:

```ruby
control 'my-control' do
  impact 1.0
  title 'My control'
  desc 'A default description'
  desc 'rational', 'I need an example'
  describe file('/tmp') do
    it { should be_directory }
  end
end
```

Many thanks to @jquick for helping me with the unit tests.
* Remove unused `descriptions` method
* Remove unused profile from test mocks
* Respond to feedback

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-26 13:28:57 -04:00
..
cli_output Update reporter with breaking inspec 2.0 changes. (#2487) 2018-02-14 11:54:20 -05:00
cli_output_windows Update reporter with breaking inspec 2.0 changes. (#2487) 2018-02-14 11:54:20 -05:00
json_merged_output Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
json_min_output Add hidden json fields to schema and add tests. (#2618) 2018-02-12 19:34:22 +01:00
json_output Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
junit_output Update junit reporter to add failures attribute (#3086) 2018-06-06 12:14:24 -04:00
run_data.json Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
run_data.yml Adding YAML reporter (#3081) 2018-05-31 13:42:09 -04:00
run_data_wrapper.json Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
yaml_output Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00