Sha256: 181a439499cb84451d91a45a8fe36eaf73d7e052b376195441f7e666fab4944e
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 Bytes
Contents
require 'spec_helper' describe Fwd::Input do subject do input = described_class.allocate input.send(:initialize, core) input end before { EM.stub :add_periodic_timer } it { should be_a(EM::Connection) } its(:buffer) { should be_nil } its(:logger) { should be(Fwd.logger) } describe "post init" do before { subject.post_init } its(:buffer) { should be_instance_of(Fwd::Buffer) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fwd-0.3.2 | spec/fwd/input_spec.rb |
fwd-0.3.1 | spec/fwd/input_spec.rb |
fwd-0.3.0 | spec/fwd/input_spec.rb |