Sha256: c1d143928b44439e014a980432dfeed5bf02910f014fbbf993b59fedf5ab93b3
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
require 'spec_helper' describe Fwd do subject { core } its(:logger) { should be_instance_of(::Logger) } its("logger.level") { should == 0 } 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fwd-0.4.0 | spec/fwd_spec.rb |