Sha256: 5d7494c6ff675691269fb62d14ba1d10d63e83ac256029f0b40f050d71e264dc

Contents?: true

Size: 151 Bytes

Versions: 28

Compression:

Stored size: 151 Bytes

Contents

RSpec::Matchers.define :be_listening do
  match do |actual|
    port = actual.gsub(/port\s+/, '')
    backend.check_listening(example, port)
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
serverspec-0.4.0 lib/serverspec/matchers/be_listening.rb
serverspec-0.3.2 lib/serverspec/matchers/be_listening.rb
serverspec-0.3.1 lib/serverspec/matchers/be_listening.rb
serverspec-0.3.0 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.28 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.27 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.26 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.25 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.24 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.23 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.22 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.21 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.20 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.19 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.18 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.17 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.16 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.15 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.14 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.13 lib/serverspec/matchers/be_listening.rb