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.1.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.1 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0.beta21 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0.beta20 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0.beta19 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0.beta18 spec/type/windows/iis_webisite_spec.rb
serverspec-2.0.0.beta17 spec/type/windows/iis_webisite_spec.rb