Sha256: 5ae7904dc6860b0ca5b09967f73fb118ab2b0180e3d58cd3e449c2132dbbe8ab

Contents?: true

Size: 429 Bytes

Versions: 17

Compression:

Stored size: 429 Bytes

Contents

require 'bundler/setup'
Bundler.setup

require 'concurrent'
require 'concurrent-edge'
Concurrent.use_stdlib_logger Logger::FATAL

require 'toiler'
class TestWorker
  include Toiler::Worker

  toiler_options queue: 'default'

  def perform(sqs_message, body); end
end

require 'rspec'
RSpec.configure do |config|
  config.before do
    Toiler.worker_class_registry = {}
    Toiler.register_worker('default', TestWorker)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
toiler-0.7.1 spec/spec_helper.rb
toiler-0.7.0 spec/spec_helper.rb
toiler-0.6.1 spec/spec_helper.rb
toiler-0.6.0 spec/spec_helper.rb
toiler-0.6.0.pre1 spec/spec_helper.rb
toiler-0.5.1 spec/spec_helper.rb
toiler-0.5.1.pre9 spec/spec_helper.rb
toiler-0.5.1.pre7 spec/spec_helper.rb
toiler-0.5.1.pre6 spec/spec_helper.rb
toiler-0.5.1.pre5 spec/spec_helper.rb
toiler-0.5.1.pre4 spec/spec_helper.rb
toiler-0.5.1.pre3 spec/spec_helper.rb
toiler-0.5.1.pre2 spec/spec_helper.rb
toiler-0.5.1.pre1 spec/spec_helper.rb
toiler-0.5.0 spec/spec_helper.rb
toiler-0.4.3 spec/spec_helper.rb
toiler-0.4.2 spec/spec_helper.rb