Sha256: 4adfca1dc519f1523f562b1a97ebbea181768c546400ea4d3e69c3ec58a59040
Contents?: true
Size: 548 Bytes
Versions: 5
Compression:
Stored size: 548 Bytes
Contents
require 'spec_helper' set :os, :family => 'solaris', :release => 10 describe commands.command_class('host').create do it { should be_an_instance_of(Specinfra::Command::Solaris::V10::Host) } end 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
5 entries across 5 versions & 1 rubygems