Sha256: 1fcfd01e5acc7b8e4f207beae2df5c245ae554ca9ea6ac01c704a20c84102013

Contents?: true

Size: 210 Bytes

Versions: 10

Compression:

Stored size: 210 Bytes

Contents

RSpec::Matchers.define :be_listening do
  match do |actual|
    port = actual.gsub(/port\s+/, '')
    ret = ssh_exec(RSpec.configuration.host, commands.check_listening(port))
    ret[:exit_code] == 0
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
serverspec-0.0.12 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.11 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.10 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.9 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.8 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.7 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.6 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.5 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.4 lib/serverspec/matchers/be_listening.rb
serverspec-0.0.3 lib/serverspec/matchers/be_listening.rb