Sha256: dfefc56739510e7a86d5f71d65bb589dbc155712d1798ceb9a2c1073f431d410
Contents?: true
Size: 452 Bytes
Versions: 9
Compression:
Stored size: 452 Bytes
Contents
RSpec.configure do |config| config.before(:each, :inline_resque => true) do Resque.inline = true end config.after(:each, :inline_resque => true) do Resque.inline = false end end log_dir = Rails.root.join('log', 'jobs-test', Rails.env) FileUtils.mkdir_p(log_dir) Resque.logger_config = { folder: log_dir, class_name: Logger, class_args: [ 'daily', 1.kilobyte ], level: Logger::INFO, formatter: Logger::Formatter.new }
Version data entries
9 entries across 9 versions & 1 rubygems