Sha256: 8d5bdfb03a351ef4c2d4cf07c6d5e75c4bd096a33840b2b8923e7639d4a03a0b
Contents?: true
Size: 499 Bytes
Versions: 85
Compression:
Stored size: 499 Bytes
Contents
require 'spec_helper' set :os, :family => 'darwin' describe port(80) do it { should be_listening } end describe port(80) do it { should be_listening.with('tcp') } end describe port(80) do it do expect { should be_listening.with('not implemented') }.to raise_error(ArgumentError, %r/\A`be_listening` matcher doesn\'t support/) end end describe port(80) do it { should be_listening.on('127.0.0.1') } end describe port(53) do it { should be_listening.with('udp') } end
Version data entries
85 entries across 85 versions & 4 rubygems