The tests end up looking like this:
MyWorker.should have_queued_job(2) Collector.should have_queued_job_at(Time.new(2012,1,23,14,00),2)
I'm a Baltimore-based web developer and entrepreneur. I'm the co-founder of Staq, OtherInbox, and Ignite Baltimore. I blog about Ruby, startups, and Baltimore.
MyWorker.should have_queued_job(2) Collector.should have_queued_job_at(Time.new(2012,1,23,14,00),2)
No comments:
Post a Comment