Sha256: b9ae775439f58297659bcb66db76da1f1bfb0fe10845651e4533c6f3c95ec626

Contents?: true

Size: 594 Bytes

Versions: 6

Compression:

Stored size: 594 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/stub_any_instance'
require 'awesome_print'
require 'rocketjob'

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]
Mongo::Logger.logger = SemanticLogger[Mongo]

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob-3.0.2 test/test_helper.rb
rocketjob-3.0.1 test/test_helper.rb
rocketjob-3.0.0 test/test_helper.rb
rocketjob-3.0.0.rc5 test/test_helper.rb
rocketjob-3.0.0.rc4 test/test_helper.rb
rocketjob-3.0.0.rc3 test/test_helper.rb