Fix the lint and failing test for windows_feature resource

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
Vasu1105 2021-05-15 16:56:53 +05:30
parent 43c9caa7e9
commit 0d83a44f44
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: