inspec/test/unit/mock
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
..
cmd Support the Busybox variant of netstat in the port resource (#3425) 2018-09-25 22:40:05 -04:00
config_dirs Add audit-cookbook integration testing (#3431) 2018-09-25 15:53:26 -04:00
files nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
plugins CLI Plugin Manager SubCommand (#3414) 2018-09-25 10:29:18 -04:00
profiles Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
reporters Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00