Open RichardsonWTR opened 2 years ago
Given this situation:
# config/initializers/sidekiq.rb file Sidekiq::Throttled::Registry.add( :my_throttle, concurrency: { limit: 50 } ) # app/jobs/my_job.rb file class MyJob include Sidekiq::Worker include Sidekiq::Throttled::Worker sidekiq_throttle_as :my_throttle end
How can I write tests in Rspec that assures:
I've tried some things but still no luck. Any help will be useful.
Related #62
Re:
We will need to add rspec matchers to simplify this task.
I don't see a feasible way for such testing
Given this situation:
How can I write tests in Rspec that assures:
I've tried some things but still no luck. Any help will be useful.
Related #62