Sha256: f06d496cf051d69c973f649c1a35b3e61f582d1d6bd47070aa4e69836f35598c
Contents?: true
Size: 184 Bytes
Versions: 1
Compression:
Stored size: 184 Bytes
Contents
RSpec::Matchers.define :be_listening do match do |actual| port = actual.gsub(/port\s+/, '') ret = do_check(commands.check_listening(port)) ret[:exit_code] == 0 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.1.7 | lib/serverspec/matchers/be_listening.rb |