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.12.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.11.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.10.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.10.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.10.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.9.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.9.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.8.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.8.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.8.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.7.2 spec/type/windows/iis_webisite_spec.rb
serverspec-2.7.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.7.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.6.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.5.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.4.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.3.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.3.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.2.0 spec/type/windows/iis_webisite_spec.rb
serverspec-clc-2.1.0 spec/type/windows/iis_webisite_spec.rb