Sha256: 836b8f2692d33051e58acb29670212f113c5e4683295a8c77dcf71c692fba0f8

Contents?: true

Size: 142 Bytes

Versions: 4

Compression:

Stored size: 142 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serverspec-0.2.4 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.3 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.2 lib/serverspec/matchers/be_listening.rb
serverspec-0.2.1 lib/serverspec/matchers/be_listening.rb