mirror of
https://github.com/inspec/inspec
synced 2024-12-03 18:09:32 +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> |
||
---|---|---|
.. | ||
control_test.rb | ||
describe_test.rb | ||
objects_test.rb | ||
other_keywords_test.rb |