require 'coverage_helper'
require 'minitest/autorun'
require 'minitest/great_expectations'
require 'turn'
require 'asynchronic'
require 'jobs'
require 'expectations'

Turn.config do |c|
  c.format = :pretty
  c.natural = true
end

class Module
  include Minitest::Spec::DSL
end

Asynchronic.logger.level = Logger::FATAL

class Minitest::Spec
  before do
    Asynchronic.restore_default_configuration
  end
end
require 'coverage_helper'
require 'minitest/autorun'
require 'minitest/great_expectations'
require 'turn'
require 'asynchronic'
require 'jobs'
require 'expectations'

Turn.config do |c|
  c.format = :pretty
  c.natural = true
end

class Module
  include Minitest::Spec::DSL
end

Asynchronic.logger.level = Logger::FATAL

class Minitest::Spec
  before do
    Asynchronic.restore_default_configuration
  end

  after do
    Asynchronic::DataStore::Redis.new.clear
    Asynchronic::QueueEngine::Ost.new.clear
  end
end
Remove test data from Redis
Remove test data from Redis
