Sha256: 62f9e9b9ee328ae49bef8e17ded983e9df5f8a3ed5e4fe6d504d8b8cfa45823f

Contents?: true

Size: 613 Bytes

Versions: 85

Compression:

Stored size: 613 Bytes

Contents

require 'spec_helper'

set :os, :family => 'solaris'

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(80) do
  it do
    expect{ should be_listening.on('') }.to raise_error(ArgumentError)
  end
end

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

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.25.0 spec/type/solaris/port_spec.rb
serverspec-2.24.3 spec/type/solaris/port_spec.rb
serverspec-2.24.2 spec/type/solaris/port_spec.rb
serverspec-2.24.1 spec/type/solaris/port_spec.rb
serverspec-2.24.0 spec/type/solaris/port_spec.rb
serverspec-2.23.1 spec/type/solaris/port_spec.rb
serverspec-2.23.0 spec/type/solaris/port_spec.rb
serverspec-2.22.0 spec/type/solaris/port_spec.rb
serverspec-2.21.1 spec/type/solaris/port_spec.rb
serverspec-2.21.0 spec/type/solaris/port_spec.rb
serverspec-2.20.0 spec/type/solaris/port_spec.rb
serverspec-2.19.0 spec/type/solaris/port_spec.rb
serverspec-2.18.0 spec/type/solaris/port_spec.rb
serverspec-2.17.1 spec/type/solaris/port_spec.rb
serverspec-2.17.0 spec/type/solaris/port_spec.rb
serverspec-2.16.0 spec/type/solaris/port_spec.rb
serverspec-2.15.0 spec/type/solaris/port_spec.rb
serverspec-2.14.1 spec/type/solaris/port_spec.rb
serverspec-2.14.0 spec/type/solaris/port_spec.rb
serverspec-2.13.0 spec/type/solaris/port_spec.rb