inspec/test/unit/dsl
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
..
control_test.rb Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
describe_test.rb Generate describe code for an array of strings (#3227) 2018-07-19 15:00:21 -04:00
objects_test.rb Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
other_keywords_test.rb Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00