Sha256: aa44b5e7d0fd1528fe4bfd97a19bb0d4070ab0b2ea455617296430886b61a666

Contents?: true

Size: 144 Bytes

Versions: 103

Compression:

Stored size: 144 Bytes

Contents

RSpec::Matchers.define :be_listening do
  match do |port|
    port.listening?(@with)
  end

  chain :with do |with|
    @with = with 
  end
end

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.15.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.14.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.13.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.12.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.11.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.10.0 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta7 lib/serverspec/matchers/be_listening.rb
serverspec-1.9.1 lib/serverspec/matchers/be_listening.rb
serverspec-1.9.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.8.0 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta6 lib/serverspec/matchers/be_listening.rb
serverspec-1.7.1 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta5 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta4 lib/serverspec/matchers/be_listening.rb
serverspec-1.7.0 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta3 lib/serverspec/matchers/be_listening.rb
serverspec-1.6.0 lib/serverspec/matchers/be_listening.rb
serverspec-1.5.0 lib/serverspec/matchers/be_listening.rb
serverspec-2.0.0.beta2 lib/serverspec/matchers/be_listening.rb