Sha256: 33340a66f180099fce81eb4f587e3727374f95d75338c218169864823bb5c1da

Contents?: true

Size: 330 Bytes

Versions: 4

Compression:

Stored size: 330 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../lib/em-redis")
require 'em-spec/bacon'

EM.spec_backend = EventMachine::Spec::Bacon

class TestConnection
  include EM::P::Redis
  def send_data data
    sent_data << data
  end
  def sent_data
    @sent_data ||= ''
  end

  def initialize
    connection_completed
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
em-redis-0.2.2 spec/test_helper.rb
em-redis-0.2.1 spec/test_helper.rb
em-redis-0.2 spec/test_helper.rb
em-redis-0.1.1 spec/test_helper.rb