Sha256: ba9380a74d62714a2fc32ae9183363ca99ee54fb4137fb2140203cabccd4a4e0

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

require File.expand_path("../../test_helper", __FILE__)

class BBQueue::SerializerTest < MiniTest::Test
  def test_dump_and_load
    test_job = BBQueue::TestJob.new(1, 2)

    assert_equal test_job, BBQueue::Serializer.load(BBQueue::Serializer.dump(test_job))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bbqueue-0.0.2 test/bbqueue/serializer_test.rb
bbqueue-0.0.1 test/bbqueue/serializer_test.rb