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-0.10.8 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.7 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.6 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.5 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.4 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.3 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.2 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.1 lib/serverspec/matchers/be_listening.rb
serverspec-0.10.0 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.8 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.7 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.6 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.5 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.4 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.3 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.2 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.1 lib/serverspec/matchers/be_listening.rb
serverspec-0.9.0 lib/serverspec/matchers/be_listening.rb
serverspec-0.8.1 lib/serverspec/matchers/be_listening.rb
serverspec-0.8.0 lib/serverspec/matchers/be_listening.rb