Sha256: 88d9912530877b0032b68101c3e34289075ee3e424da2c7115ca05dbaffcec37
Contents?: true
Size: 665 Bytes
Versions: 4
Compression:
Stored size: 665 Bytes
Contents
require 'spec_helper' describe Fwd do subject { core } its(:logger) { should be_instance_of(::Logger) } its(:root) { should be_instance_of(::Pathname) } its(:root) { should == root } its(:bind) { should be_instance_of(URI::Generic) } its(:bind) { should == URI("tcp://0.0.0.0:7289") } its(:prefix) { should == "buffer" } its(:opts) { should be_instance_of(Hash) } its(:logger) { should be_instance_of(Logger) } its(:output) { should be_instance_of(Fwd::Output) } it "should listen the server" do with_em do subject.logger.should_receive(:info) subject.listen!.should be_instance_of(Fixnum) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fwd-0.3.3 | spec/fwd_spec.rb |
fwd-0.3.2 | spec/fwd_spec.rb |
fwd-0.3.1 | spec/fwd_spec.rb |
fwd-0.3.0 | spec/fwd_spec.rb |