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.38.0 spec/type/freebsd/port_spec.rb
serverspec-2.37.2 spec/type/freebsd/port_spec.rb
serverspec-2.37.1 spec/type/freebsd/port_spec.rb
serverspec-2.37.0 spec/type/freebsd/port_spec.rb
serverspec-2.36.1 spec/type/freebsd/port_spec.rb
serverspec-2.36.0 spec/type/freebsd/port_spec.rb
serverspec-2.35.0 spec/type/freebsd/port_spec.rb
serverspec-2.34.0 spec/type/freebsd/port_spec.rb
serverspec-2.33.0 spec/type/freebsd/port_spec.rb
serverspec-2.32.0 spec/type/freebsd/port_spec.rb
serverspec-2.31.1 spec/type/freebsd/port_spec.rb
serverspec-2.31.0 spec/type/freebsd/port_spec.rb
serverspec-2.30.1 spec/type/freebsd/port_spec.rb
serverspec-2.30.0 spec/type/freebsd/port_spec.rb
serverspec-2.29.2 spec/type/freebsd/port_spec.rb
serverspec-2.29.1 spec/type/freebsd/port_spec.rb
serverspec-2.29.0 spec/type/freebsd/port_spec.rb
serverspec-2.28.0 spec/type/freebsd/port_spec.rb
serverspec-2.27.0 spec/type/freebsd/port_spec.rb
serverspec-2.26.0 spec/type/freebsd/port_spec.rb