mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Merge pull request #4818 from JackChance/master
replaced instances of `have_protocols` with `have_protocol` in docume…
This commit is contained in:
commit
2ae2bcf6fb
3 changed files with 4 additions and 4 deletions
|
@ -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') }
|
||||
|
|
|
@ -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') }
|
||||
|
|
|
@ -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') }
|
||||
|
|
Loading…
Reference in a new issue