Sha256: 21d4e3c78f7666ffcc78fd9f8078fac2479d4a2758953ee033db84cde7d4204f
Contents?: true
Size: 555 Bytes
Versions: 7
Compression:
Stored size: 555 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' require File.dirname(__FILE__) + '/common_adapter_spec' describe JobQueue::TestAdapter do before :all do JobQueue.adapter = JobQueue::TestAdapter.new end it_should_behave_like 'JobQueue adapter basic' it_should_behave_like "JobQueue adapter named queues" it_should_behave_like "JobQueue adapter queue length" it "should allow queue inspection as a hash" do JobQueue.adapter.queue.should == [] JobQueue.put('hello') JobQueue.adapter.queue.should == ['hello'] end end
Version data entries
7 entries across 7 versions & 2 rubygems