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.6.16 spec/support/shared_port_examples.rb
serverspec-0.6.15 spec/support/shared_port_examples.rb
serverspec-0.6.13 spec/support/shared_port_examples.rb
serverspec-0.6.12 spec/support/shared_port_examples.rb
serverspec-0.6.11 spec/support/shared_port_examples.rb
serverspec-0.6.10 spec/support/shared_port_examples.rb
serverspec-0.6.9 spec/support/shared_port_examples.rb
serverspec-0.6.8 spec/support/shared_port_examples.rb
serverspec-0.6.7 spec/support/shared_port_examples.rb
serverspec-0.6.6 spec/support/shared_port_examples.rb
serverspec-0.6.5 spec/support/shared_port_examples.rb
serverspec-0.6.4 spec/support/shared_port_examples.rb
serverspec-0.6.3 spec/support/shared_port_examples.rb
serverspec-0.6.2 spec/support/shared_port_examples.rb
serverspec-0.6.1 spec/support/shared_port_examples.rb
serverspec-0.6.0 spec/support/shared_port_examples.rb
serverspec-0.5.8 spec/support/shared_port_examples.rb
serverspec-0.5.7 spec/support/shared_port_examples.rb
serverspec-0.5.6 spec/support/shared_port_examples.rb
serverspec-0.5.5 spec/support/shared_port_examples.rb