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.42.3 spec/type/solaris/port_spec.rb
serverspec-2.42.2 spec/type/solaris/port_spec.rb
serverspec-2.42.1 spec/type/solaris/port_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/solaris/port_spec.rb
serverspec-2.42.0 spec/type/solaris/port_spec.rb
serverspec-2.41.8 spec/type/solaris/port_spec.rb
serverspec-2.41.7 spec/type/solaris/port_spec.rb
serverspec-2.41.6 spec/type/solaris/port_spec.rb
serverspec-2.41.5 spec/type/solaris/port_spec.rb
serverspec-2.41.4 spec/type/solaris/port_spec.rb
serverspec-ruby19-2.24.3 spec/type/solaris/port_spec.rb
serverspec-2.41.3 spec/type/solaris/port_spec.rb
serverspec-2.41.2 spec/type/solaris/port_spec.rb
serverspec-2.41.1 spec/type/solaris/port_spec.rb
serverspec-2.41.0 spec/type/solaris/port_spec.rb
serverspec-2.40.0 spec/type/solaris/port_spec.rb
serverspec-2.39.2 spec/type/solaris/port_spec.rb
serverspec-2.39.1 spec/type/solaris/port_spec.rb
serverspec-2.39.0 spec/type/solaris/port_spec.rb
serverspec-2.38.1 spec/type/solaris/port_spec.rb