undefined method `each' for "OU=Domain Controllers,DC=saf,DC=cms":String
Recommendation:
Since the tests are 100 lines long, the easiest way to address this would be to set the variable as an array early on so single values don't affect the for loop.
ou_list = []
ou_list << json(command: <cmd>).params
if ou_list.empty?
<skip>
else
<for loop with tests>
This code block might be leading to the following error when running the profile against a Domain Controller:
Error:
Recommendation: Since the tests are 100 lines long, the easiest way to address this would be to set the variable as an array early on so single values don't affect the for loop.