rspec-sidekiq
rspec-sidekiq copied to clipboard
Disabling RSpec::Sidekiq::NullStatus programmatically
Hi,
I am wondering if there is a way to disable RSpec::Sidekiq::NullStatus for Sidekiq::Batch for a specific test.
I want to test a real scenario of the sidekiq::batch object(Sidekiq::Batch::Status.new(params[:batch_id]) to be more precise) and I want to use the real object, so I know that I am serializing it properly
Is there a way that I can disable NullStatus only for a specific test in my suite?
Just had a chance to dig in the code and saw the metadata stub_batches
Suggest improving the readme file