Merge pull request #5524 from inspec/vasundhara/fix-windows-feature-failing-specs

Fix the lint and failing test for windows_feature resource
This commit is contained in:
Clinton Wolfe 2021-05-16 16:54:13 -04:00 committed by GitHub
commit d2955ad964
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ module Inspec::Resources
feature_info = {
name: result.match(feature_name_regex).captures[0].chomp,
description: result.match(description_regex).captures[0].chomp,
installed: result.match(state_regex).captures[0].chomp == 'Enabled',
installed: result.match(state_regex).captures[0].chomp == "Enabled",
}
end

View file

@ -9,7 +9,7 @@ Feature Name : IIS-WebServer
Display Name : World Wide Web Services
Description : Installs the IIS 10.0 World Wide Web Services. Provides support for HTML web sites and optional support for ASP.NET, Classic ASP, and web server extensions.
Restart Required : Possible
State : Disabled
State : Enabled
Custom Properties: