Sha256: 62f9e9b9ee328ae49bef8e17ded983e9df5f8a3ed5e4fe6d504d8b8cfa45823f
Contents?: true
Size: 613 Bytes
Versions: 85
Compression:
Stored size: 613 Bytes
Contents
require 'spec_helper' set :os, :family => 'solaris' 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(80) do it do expect{ should be_listening.on('') }.to raise_error(ArgumentError) end end describe port(123) do it { should be_listening.with('udp') } end
Version data entries
85 entries across 85 versions & 4 rubygems