mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
ca833afacf
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> |
||
---|---|---|
.. | ||
bundles | ||
fetchers | ||
inspec | ||
matchers | ||
resource_support | ||
resources | ||
source_readers | ||
utils | ||
inspec.rb |