Sha256: c2117687abd50c44bccf1d1db9b2066439f4eeb99734055afa4c1b738f973927

Contents?: true

Size: 642 Bytes

Versions: 6

Compression:

Stored size: 642 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'

begin
  require 'active_model/serializers'
rescue LoadError
  # Only used when running Rails 5
end
require 'yaml'
require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/stub_any_instance'
require 'awesome_print'
require 'rocketjob'

MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new

SemanticLogger.add_appender(file_name: 'test.log', formatter: :color)
SemanticLogger.default_level = :debug

RocketJob::Config.load!('test', 'test/config/mongoid.yml')
Mongoid.logger = SemanticLogger[Mongoid]

#RocketJob::Job.collection.database.command(dropDatabase: 1)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob-3.0.0.rc2 test/test_helper.rb
rocketjob-3.0.0.rc1 test/test_helper.rb
rocketjob-3.0.0.beta3 test/test_helper.rb
rocketjob-3.0.0.beta2 test/test_helper.rb
rocketjob-3.0.0.beta test/test_helper.rb
rocketjob-3.0.0.alpha test/test_helper.rb