Sha256: c69a7f8500d29bbec5175b96e6822b20985e8c7575202aefa5d3bc41b725de9d
Contents?: true
Size: 385 Bytes
Versions: 5
Compression:
Stored size: 385 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Server do context '#initialize' do it 'requires listen statement' do expect { Server.new('tcp://locahost:8000') }.not_to raise_error end it 'fails on invalid listen statement' do expect { Server.new(nil) }.to raise_error Exceptions::ServerListenStatementInvalid end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
local_pac-0.2.3 | spec/server_spec.rb |
local_pac-0.2.2 | spec/server_spec.rb |
local_pac-0.2.1 | spec/server_spec.rb |
local_pac-0.2.0 | spec/server_spec.rb |
local_pac-0.1.13 | spec/server_spec.rb |