Sha256: a6af724b4262edda738abb93ae98e533c79331ba8f83efed952b12f2fca36bff

Contents?: true

Size: 331 Bytes

Versions: 126

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'darwin'

describe get_command(:check_port_is_listening, '80') do
  it { should eq 'lsof -nP -iTCP -sTCP:LISTEN | grep -- :80\ ' }
end

describe get_command(:check_port_is_listening, '80', :protocol => 'udp') do
  it { should eq 'lsof -nP -iUDP | grep -- :80\ ' }
end

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
specinfra-2.91.0 spec/command/darwin/port_spec.rb
specinfra-2.90.1 spec/command/darwin/port_spec.rb
specinfra-2.90.0 spec/command/darwin/port_spec.rb
specinfra-2.89.0 spec/command/darwin/port_spec.rb
specinfra-2.88.2 spec/command/darwin/port_spec.rb
specinfra-2.88.1 spec/command/darwin/port_spec.rb
specinfra-2.88.0 spec/command/darwin/port_spec.rb
specinfra-2.87.2 spec/command/darwin/port_spec.rb
specinfra-2.87.1 spec/command/darwin/port_spec.rb
specinfra-2.87.0 spec/command/darwin/port_spec.rb
specinfra-2.86.0 spec/command/darwin/port_spec.rb
specinfra-2.85.1 spec/command/darwin/port_spec.rb
specinfra-2.85.0 spec/command/darwin/port_spec.rb
specinfra-2.84.1 spec/command/darwin/port_spec.rb
specinfra-2.84.0 spec/command/darwin/port_spec.rb
specinfra-2.83.4 spec/command/darwin/port_spec.rb
specinfra-2.83.3 spec/command/darwin/port_spec.rb
specinfra-2.83.2 spec/command/darwin/port_spec.rb
specinfra-2.83.1 spec/command/darwin/port_spec.rb
specinfra-2.83.0 spec/command/darwin/port_spec.rb