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.12.0 spec/type/freebsd/port_spec.rb
serverspec-2.11.0 spec/type/freebsd/port_spec.rb
serverspec-2.10.2 spec/type/freebsd/port_spec.rb
serverspec-2.10.1 spec/type/freebsd/port_spec.rb
serverspec-2.10.0 spec/type/freebsd/port_spec.rb
serverspec-2.9.1 spec/type/freebsd/port_spec.rb
serverspec-2.9.0 spec/type/freebsd/port_spec.rb
serverspec-2.8.2 spec/type/freebsd/port_spec.rb
serverspec-2.8.1 spec/type/freebsd/port_spec.rb
serverspec-2.8.0 spec/type/freebsd/port_spec.rb
serverspec-2.7.2 spec/type/freebsd/port_spec.rb
serverspec-2.7.1 spec/type/freebsd/port_spec.rb
serverspec-2.7.0 spec/type/freebsd/port_spec.rb
serverspec-2.6.0 spec/type/freebsd/port_spec.rb
serverspec-2.5.0 spec/type/freebsd/port_spec.rb
serverspec-2.4.0 spec/type/freebsd/port_spec.rb
serverspec-2.3.1 spec/type/freebsd/port_spec.rb
serverspec-2.3.0 spec/type/freebsd/port_spec.rb
serverspec-2.2.0 spec/type/freebsd/port_spec.rb
serverspec-clc-2.1.0 spec/type/freebsd/port_spec.rb