Sha256: b45ffefabd5e139a526f92fa08957da98f739a0e9638f2b0d4cadf210f45ed0d

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

require_relative "../spec_helper"
require "canvas_sync/job_uniqueness/job_uniqueness"

require 'redis'
Redis.silence_deprecations = true

Dir[File.join(File.dirname(__FILE__), "./support/**/*.rb")].sort.each { |f| require f }

Sidekiq::Testing.server_middleware do |chain|
  chain.insert_before CanvasSync::JobBatches::Compat::Sidekiq::ServerMiddleware, CanvasSync::JobUniqueness::Compat::Sidekiq::ServerMiddleware
end

RSpec.configure do |config|
  config.before(:each) do
    CanvasSync.redis.flushdb
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
canvas_sync-0.22.0.beta8 spec/job_uniqueness/spec_helper.rb