Sha256: e4de529d23e5e95b3ea5f9ce45cb9dd2a6d64acac1699df171fa27c1bc6dbd7a
Contents?: true
Size: 510 Bytes
Versions: 18
Compression:
Stored size: 510 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe JobQueue::VerboseAdapter do before :all do JobQueue.adapter = JobQueue::VerboseAdapter.new end it "should write onto queue and output a very verbose message to stdout" do JobQueue.logger.should_receive(:debug).with("===== NEW JOB ADDED TO QUEUE ====") JobQueue.logger.should_receive(:debug).with("hello") JobQueue.logger.should_receive(:debug).with("===== END OF MESSAGE ============") JobQueue.put("hello") end end
Version data entries
18 entries across 18 versions & 4 rubygems