Merge pull request #4818 from JackChance/master

replaced instances of `have_protocols` with `have_protocol` in docume…
This commit is contained in:
Ryan Davis 2020-01-29 15:46:25 -08:00 committed by GitHub
commit 2ae2bcf6fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ An `iis_app` resource block declares details about the named site:
describe iis_app('application_path', 'site_name') do
it { should exist }
it { should have_application_pool('application_pool') }
it { should have_protocols('protocol') }
it { should have_protocol('protocol') }
it { should have_site_name('site') }
it { should have_physical_path('physical_path') }
it { should have_path('application_path') }
@ -45,7 +45,7 @@ For example:
describe iis_app('/myapp', 'Default Web Site') do
it { should exist }
it { should have_application_pool('MyAppPool') }
it { should have_protocols('http') }
it { should have_protocol('http') }
it { should have_site_name('Default Web Site') }
it { should have_physical_path('C:\\inetpub\\wwwroot\\myapp') }
it { should have_path('\\My Application') }

View file

@ -10,7 +10,7 @@ module Inspec::Resources
describe iis_app('/myapp', 'Default Web Site') do
it { should exist }
it { should have_application_pool('MyAppPool') }
it { should have_protocols('http') }
it { should have_protocol('http') }
it { should have_site_name('Default Web Site') }
it { should have_physical_path('C:\\inetpub\\wwwroot\\myapp') }
it { should have_path('\\My Application') }

View file

@ -33,7 +33,7 @@ end
describe iis_app('/TestApp', 'Default Web Site') do
it { should exist }
it { should have_application_pool('DefaultAppPool') }
it { should have_protocols('http') }
it { should have_protocol('http') }
it { should have_site_name('Default Web Site') }
it { should have_physical_path('C:\\inetpub\\wwwroot\\Test') }
it { should have_path('\\TestApp') }