Skip to content

Commit

Permalink
Quiet down the specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Dec 19, 2009
1 parent 8b6146e commit 86a638b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/worker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def job_create(opts = {})
end

before(:each) do
@worker = Delayed::Worker.new(:max_priority => nil, :min_priority => nil)
@worker = Delayed::Worker.new(:max_priority => nil, :min_priority => nil, :quiet => true)

Delayed::Job.delete_all

Expand All @@ -19,7 +19,7 @@ def job_create(opts = {})

context "worker prioritization" do
before(:each) do
@worker = Delayed::Worker.new(:max_priority => 5, :min_priority => -5)
@worker = Delayed::Worker.new(:max_priority => 5, :min_priority => -5, :quiet => true)
end

it "should only work_off jobs that are >= min_priority" do
Expand Down

0 comments on commit 86a638b

Please sign in to comment.