mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +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 | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
objects | ||
plugins | ||
profiles | ||
reporters | ||
resource_supports/aws | ||
resources | ||
source_readers | ||
utils | ||
base_cli_test.rb | ||
file_provider_test.rb | ||
helper.rb | ||
runner_test.rb | ||
shell_detector_test.rb |