inspec/test/unit/dsl
James Stocks ca833afacf Generate describe code for an array of strings (#3227)
Context:
When testing a Windows registry key with a period character in it e.g. `explorer.exe` it is not possible to use `its("explorer.exe")` because the period would be interpreted as method chaining.
In this case, you must instead use `its(["explorer", "exe"])`
See https://github.com/inspec/inspec/issues/1281

This commit fixes `to_ruby`in `Inspec::Describe` so that it produces an array in the generated Inspec code instead of a string.

Signed-off-by: James Stocks <jstocks@chef.io>
2018-07-19 15:00:21 -04:00
..
control_test.rb bugfix: unindent description misbehaviors 2017-04-25 13:21:38 +02:00
describe_test.rb Generate describe code for an array of strings (#3227) 2018-07-19 15:00:21 -04:00
objects_test.rb Include ref when writing out inspec control objects (#2259) 2017-10-24 17:50:23 -04:00
other_keywords_test.rb Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00