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