test/workers/forking_worker_test.rb in backburner-0.3.4 vs test/workers/forking_worker_test.rb in backburner-0.4.0
- old
+ new
@@ -44,11 +44,11 @@
end # all assign
it "should properly retrieve all tubes" do
worker = @worker_class.new
out = capture_stdout { worker.prepare }
- assert_contains worker.tube_names, "demo.test.test-job"
- assert_contains @worker_class.connection.tubes.watched.map(&:name), "demo.test.test-job"
+ assert_contains worker.tube_names, "demo.test.backburner-jobs"
+ assert_contains @worker_class.connection.tubes.watched.map(&:name), "demo.test.backburner-jobs"
assert_match /demo\.test\.test-job/, out
end # all read
end # prepare
describe "for fork_one_job method" do