Skip to content

Commit

Permalink
Merge pull request sidekiq#2203 from davydovanton/fix-failed-api-test
Browse files Browse the repository at this point in the history
Update API test file
  • Loading branch information
seuros committed Feb 25, 2015
2 parents 48d4323 + 12fefe7 commit 7351c39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test_api.rb
Expand Up @@ -24,7 +24,7 @@ class TestApi < Sidekiq::Test
describe "failed" do
it "is initially zero" do
s = Sidekiq::Stats.new
assert_equal 0, s.processed
assert_equal 0, s.failed
end

it "returns number of failed jobs" do
Expand Down Expand Up @@ -311,8 +311,6 @@ class ApiWorker
add_retry('bob1', same_time)
add_retry('bob2', same_time)
r = Sidekiq::RetrySet.new
# jobs = r.fetch(same_time)
# puts jobs[1].jid
assert_equal 1, r.fetch(same_time, 'bob1').size
end

Expand Down

0 comments on commit 7351c39

Please sign in to comment.