Sha256: 944a27812936f4f2dacefa55ed0f947e26dfafd56cf80992e45d53ce0af831c3

Contents?: true

Size: 236 Bytes

Versions: 15

Compression:

Stored size: 236 Bytes

Contents

require 'redis'

def reset_test_adapter
  QueueBus.send(:reset)
  QueueBus.adapter = :data
  QueueBus.adapter.redis = Redis.new
end

def adapter_under_test_class
  QueueBus::Adapters::Data
end

def adapter_under_test_symbol
  :data
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
queue-bus-0.9.0 spec/adapter/support.rb
queue-bus-0.8.1 spec/adapter/support.rb
queue-bus-0.8.0 spec/adapter/support.rb
queue-bus-0.7.0 spec/adapter/support.rb
queue-bus-0.6.0 spec/adapter/support.rb
queue-bus-0.5.9 spec/adapter/support.rb
queue-bus-0.5.8 spec/adapter/support.rb
queue-bus-0.5.7 spec/adapter/support.rb
queue-bus-0.5.6 spec/adapter/support.rb
queue-bus-0.5.5 spec/adapter/support.rb
queue-bus-0.5.4 spec/adapter/support.rb
queue-bus-0.5.3 spec/adapter/support.rb
queue-bus-0.5.2 spec/adapter/support.rb
queue-bus-0.5.1 spec/adapter/support.rb
queue-bus-0.5.0 spec/adapter/support.rb