mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Change #processed to #failed method in API test
This commit is contained in:
parent
48d4323495
commit
1ee23b4d67
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class TestApi < Sidekiq::Test
|
||||||
describe "failed" do
|
describe "failed" do
|
||||||
it "is initially zero" do
|
it "is initially zero" do
|
||||||
s = Sidekiq::Stats.new
|
s = Sidekiq::Stats.new
|
||||||
assert_equal 0, s.processed
|
assert_equal 0, s.failed
|
||||||
end
|
end
|
||||||
|
|
||||||
it "returns number of failed jobs" do
|
it "returns number of failed jobs" do
|
||||||
|
|
Loading…
Reference in a new issue