Sha256: 3d7f2d8b5c8f76b0f427f86b1bd169e8e05b4a62f405aa876f3ba33e66de1dfc

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

class CarrotTest < Test::Unit::TestCase

  test "simple server connection" do
    c = Carrot.new
  end

  test "large messages" do
    msg = 'a' * 1024 * 1024
    q = Carrot.queue('_carrot_test')
    q.publish(msg)
    assert_equal msg, q.pop
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
famoseagle-carrot-0.7.0 test/carrot_test.rb
sa-carrot-0.7.1 test/carrot_test.rb
carrot-0.7.0 test/carrot_test.rb