Sha256: 5823de2c3682cef804142850fdc0cc54c4f5ff93c88857d6bbb5292d272c14bc
Contents?: true
Size: 536 Bytes
Versions: 14
Compression:
Stored size: 536 Bytes
Contents
begin require 'sidekiq/testing' RSpec.configure do |config| config.before(:each) do |example| # Clears out the jobs for tests using the fake testing Sidekiq::Worker.clear_all if example.metadata[:queue] == :stub Sidekiq::Testing.fake! elsif example.metadata[:queue] == :immediately_execute Sidekiq::Testing.inline! elsif example.metadata[:type] == :acceptance Sidekiq::Testing.inline! else Sidekiq::Testing.fake! end end end rescue LoadError end
Version data entries
14 entries across 14 versions & 1 rubygems