Sha256: 4b929e61a678855022e434a6f46fcc519406501924a866efbe8a5fe45b2c38ff

Contents?: true

Size: 243 Bytes

Versions: 39

Compression:

Stored size: 243 Bytes

Contents

shared_examples_for 'support port listening matcher' do |num|
  describe 'listening' do
    describe port(num) do
      it { should be_listening }
    end

    describe port('invalid') do
      it { should_not be_listening }
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
serverspec-0.5.4 spec/support/shared_port_examples.rb
serverspec-0.5.3 spec/support/shared_port_examples.rb
serverspec-0.5.2 spec/support/shared_port_examples.rb
serverspec-0.5.1 spec/support/shared_port_examples.rb
serverspec-0.5.0 spec/support/shared_port_examples.rb
serverspec-0.4.14 spec/support/shared_port_examples.rb
serverspec-0.4.13 spec/support/shared_port_examples.rb
serverspec-0.4.12 spec/support/shared_port_examples.rb
serverspec-0.4.11 spec/support/shared_port_examples.rb
serverspec-0.4.10 spec/support/shared_port_examples.rb
serverspec-0.4.9 spec/support/shared_port_examples.rb
serverspec-0.4.8 spec/support/shared_port_examples.rb
serverspec-0.4.7 spec/support/shared_port_examples.rb
serverspec-0.4.6 spec/support/shared_port_examples.rb
serverspec-0.4.5 spec/support/shared_port_examples.rb
serverspec-0.4.4 spec/support/shared_port_examples.rb
serverspec-0.4.3 spec/support/shared_port_examples.rb
serverspec-0.4.2 spec/support/shared_port_examples.rb
serverspec-0.4.1 spec/support/shared_port_examples.rb