Sha256: 12649232ae5c159f154db3b71a594d28708353d60b9704a017ea5179c8d4f29f

Contents?: true

Size: 591 Bytes

Versions: 88

Compression:

Stored size: 591 Bytes

Contents

require 'spec_helper'

set :backend, :cmd

set :os, :family => 'windows'

describe iis_website('Default Website') do
  it { should exist }
  it { should be_enabled }
  it { should be_running }
  it { should be_in_app_pool('Default App Pool') }
  it { should have_physical_path('C:\\inetpub\\www') } 
  it { should have_site_bindings('port').with_protocol('protocol').with_ipaddress('ipaddress').with_host_header('host_header') }
  it { should have_virtual_dir('vdir').with_path('path') }
  it { should have_site_application('app').with_pool('pool').with_physical_path('physical_path') }
end

Version data entries

88 entries across 88 versions & 4 rubygems

Version Path
serverspec-2.42.3 spec/type/windows/iis_webisite_spec.rb
serverspec-2.42.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.42.1 spec/type/windows/iis_webisite_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.42.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.8 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.7 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.6 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.5 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.4 spec/type/windows/iis_webisite_spec.rb
serverspec-ruby19-2.24.3 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.3 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.41.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.40.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.39.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.39.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.39.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.38.1 spec/type/windows/iis_webisite_spec.rb