diff --git a/spec/sidekiq/batch/status_spec.rb b/spec/sidekiq/batch/status_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/sidekiq/batch/status_spec.rb
+++ b/spec/sidekiq/batch/status_spec.rb
@@ -26,9 +26,26 @@ describe Sidekiq::Batch::Status do
     end
   end
 
+  describe '#failures' do
+    context 'when not initalized' do
+      it 'returns 0 failed jobs' do
+        expect(subject.failures).to eq(0)
+      end
+    end
+
+    context 'when more than 0' do
+      before { Sidekiq::Batch.increment_job_queue(bid) }
+      before { Sidekiq::Batch.process_failed_job(bid, 'FAILEDID') }
+
+      it 'returns failed jobs' do
+        expect(subject.failures).to eq(1)
+      end
+    end
+  end
+
   describe '#data' do
     it 'returns batch description' do
-      expect(subject.data).to eq(total: nil, failures: nil, pending: 0, created_at: nil, complete: false, failure_info: nil)
+      expect(subject.data).to eq(total: nil, failures: 0, pending: 0, created_at: nil, complete: false, failure_info: nil)
     end
   end
 end
Adding specs for Status#failures