Sha256: 168373bf5f91f7b709d1892a2287105319e1a59ca5f51397f719e13442408fb6

Contents?: true

Size: 419 Bytes

Versions: 6

Compression:

Stored size: 419 Bytes

Contents

require 'spec_helper'

set :os, :family => 'solaris', :release => 10

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

describe host('invalid-host') do
  it { should_not 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 spec/type/solaris10/host_spec.rb
serverspec-2.0.0.beta18 spec/type/solaris10/host_spec.rb
serverspec-2.0.0.beta17 spec/type/solaris10/host_spec.rb
serverspec-2.0.0.beta16 spec/type/solaris10/host_spec.rb
serverspec-2.0.0.beta15 spec/type/solaris10/host_spec.rb
serverspec-2.0.0.beta14 spec/type/solaris10/host_spec.rb