Sha256: c528f27d12c0dce65ad576ebfa0b3d5dd2aa2a515779cf8fc4efdb73ba6f0ad4

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

require 'sidekiq-bus'

def reset_test_adapter
  QueueBus.send(:reset)
  QueueBus.adapter = QueueBus::Adapters::Sidekiq.new
end

def adapter_under_test_class
  QueueBus::Adapters::Sidekiq
end

def adapter_under_test_symbol
  :sidekiq
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-bus-0.9.0 spec/adapter/support.rb
sidekiq-bus-0.8.2 spec/adapter/support.rb