Sha256: 2315178302da7df39507b640f7147ba4ce2df42ffee10f454803d2ed3c7e1460

Contents?: true

Size: 500 Bytes

Versions: 85

Compression:

Stored size: 500 Bytes

Contents

require 'spec_helper'

set :os, :family => 'freebsd'

describe port(80) do
  it { should be_listening }
end

describe port(80) do
  it { should be_listening.with('tcp') }
end

describe port(80) do
  it  do
    expect {
      should be_listening.with('not implemented')
    }.to raise_error(ArgumentError, %r/\A`be_listening` matcher doesn\'t support/)
  end
end

describe port(80) do
  it { should be_listening.on('127.0.0.1') }
end

describe port(53) do
  it { should be_listening.with('udp') }
end

Version data entries

85 entries across 85 versions & 4 rubygems

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