Sha256: e800d9d15b440aeeb518934c272330312db52d1e448da39a1a5d18a81afc17e0

Contents?: true

Size: 680 Bytes

Versions: 85

Compression:

Stored size: 680 Bytes

Contents

require 'spec_helper'

set :backend, :cmd
set :os, :family => 'windows'

describe host('127.0.0.1') do
  it { should be_resolvable }
end

describe host('127.0.0.1') do
  it { should be_resolvable.by('hosts') }
end

describe host('127.0.0.1') do
  it { should be_resolvable.by('dns') }
end

describe host('127.0.0.1') do
  it { should be_reachable }
end

describe host('127.0.0.1') do
  it { should be_reachable.with(:proto => "icmp", :timeout=> 1) }
end

describe host('127.0.0.1') do
  it { should be_reachable.with(:proto => "tcp", :port => 22, :timeout=> 1) }
end

describe host('127.0.0.1') do
  it { should be_reachable.with(:proto => "udp", :port => 53, :timeout=> 1) }
end

Version data entries

85 entries across 85 versions & 4 rubygems

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