Sha256: fe62d3cc552369825ed0b98b46a572e9962c92bb29d6d2c493255fb48431aa81

Contents?: true

Size: 663 Bytes

Versions: 5

Compression:

Stored size: 663 Bytes

Contents

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

Turn.config do |c|
  c.format = :pretty
  c.natural = true
  c.ansi = 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

module Asynchronic::DataStore::Helper
  def dump
    puts 'DataStore:'
    each do |k,v|
      puts "#{k}: #{v}"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asynchronic-0.3.0 spec/minitest_helper.rb
asynchronic-0.2.3 spec/minitest_helper.rb
asynchronic-0.2.2 spec/minitest_helper.rb
asynchronic-0.2.1 spec/minitest_helper.rb
asynchronic-0.2.0 spec/minitest_helper.rb