Skip to content

Commit

Permalink
Fix broken metrics spec
Browse files Browse the repository at this point in the history
  • Loading branch information
James Turley committed Nov 7, 2019
1 parent d824c1d commit 88f26f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/lib/que/middleware/queue_collector_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
collector.call({})

expect(described_class::Queued.values).to eql(
{ queue: "default", job_class: "FakeJob", priority: 1, due: "true" } => 2.0,
{ queue: "default", job_class: "FakeJob", priority: 10, due: "true" } => 1.0,
{ queue: "default", job_class: "FakeJob", priority: 1, due: "false" } => 2.0,
{ queue: "another", job_class: "FakeJob", priority: 1, due: "false" } => 1.0,
{ queue: "default", job_class: "FakeJob", priority: "1", due: "true" } => 2.0,
{ queue: "default", job_class: "FakeJob", priority: "10", due: "true" } => 1.0,
{ queue: "default", job_class: "FakeJob", priority: "1", due: "false" } => 2.0,
{ queue: "another", job_class: "FakeJob", priority: "1", due: "false" } => 1.0,
)

# It's not easy to predict the number of dead tuples deterministically, so we just
Expand Down

0 comments on commit 88f26f0

Please sign in to comment.