Sha256: ba884f58a952d10c101f6f8d057306c3ec408a640ae2f2f719be4306c9761447

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

require_relative "../test_helper"
require_relative "../../lib/message_queue/serializers/plain"

class PlainTest < Test::Unit::TestCase
  def test_dump_and_load
    dump = MessageQueue::Serializers::Plain.dump "foo" => "bar"
    loaded = MessageQueue::Serializers::Plain.load dump
    assert_equal "bar", loaded["foo"]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
message_queue-0.1.1 test/serializers/plain_test.rb
message_queue-0.1.0 test/serializers/plain_test.rb
message_queue-0.0.4 test/serializers/plain_test.rb
message_queue-0.0.3 test/serializers/plain_test.rb
message_queue-0.0.2 test/serializers/plain_test.rb