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.25.0 spec/type/windows/host_spec.rb
serverspec-2.24.3 spec/type/windows/host_spec.rb
serverspec-2.24.2 spec/type/windows/host_spec.rb
serverspec-2.24.1 spec/type/windows/host_spec.rb
serverspec-2.24.0 spec/type/windows/host_spec.rb
serverspec-2.23.1 spec/type/windows/host_spec.rb
serverspec-2.23.0 spec/type/windows/host_spec.rb
serverspec-2.22.0 spec/type/windows/host_spec.rb
serverspec-2.21.1 spec/type/windows/host_spec.rb
serverspec-2.21.0 spec/type/windows/host_spec.rb
serverspec-2.20.0 spec/type/windows/host_spec.rb
serverspec-2.19.0 spec/type/windows/host_spec.rb
serverspec-2.18.0 spec/type/windows/host_spec.rb
serverspec-2.17.1 spec/type/windows/host_spec.rb
serverspec-2.17.0 spec/type/windows/host_spec.rb
serverspec-2.16.0 spec/type/windows/host_spec.rb
serverspec-2.15.0 spec/type/windows/host_spec.rb
serverspec-2.14.1 spec/type/windows/host_spec.rb
serverspec-2.14.0 spec/type/windows/host_spec.rb
serverspec-2.13.0 spec/type/windows/host_spec.rb