Sha256: 883a13792eb39133ad0117ff326b91753697798a07531b9434b6f9e9d446a2b9

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require 'spec_helper'

describe Fwd::Input do

  let(:buffer) { Fwd::Buffer.new(core) }
  subject do
    input = described_class.allocate
    input.send(:initialize, core, buffer)
    input
  end

  before { EM.stub :add_periodic_timer }

  it { should be_a(EM::Connection) }
  its(:core) { should be(core) }
  its(:buffer) { should be(buffer) }
  its(:logger) { should be(Fwd.logger) }

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fwd-0.3.3 spec/fwd/input_spec.rb