We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The group and user asserts don't work on Windows, because the Etc library on Windows isn't going to return anything. So an assertion like:
directory("C:\\inetpub\\wwwroot").must_exist.with(:owner, "Administrator")
always returns
The directory C:\inetpub\wwwroot does not have the expected owner. Expected: "Administrator" Actual: nil
Indeed, Etc.getpwnam("Administrator") on Windows returns nil under irb.
The text was updated successfully, but these errors were encountered:
Unfortunately, that's either a Chef or a Ruby bug. We only use the resources that Chef makes available.
Sorry, something went wrong.
No branches or pull requests
The group and user asserts don't work on Windows, because the Etc library on Windows isn't going to return anything. So an assertion like:
always returns
Indeed, Etc.getpwnam("Administrator") on Windows returns nil under irb.
The text was updated successfully, but these errors were encountered: