aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/support/integration/helper.rb
blob: cb94e7cfb5e1efbb3e4778ff66a098bc08c577d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
ENV["RAILS_ENV"] = "test"
require File.expand_path("../../../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
Rails.backtrace_cleaner.remove_silencers!

require_relative 'test_case_helpers'
ActiveSupport::TestCase.send(:include, TestCaseHelpers)

JobsManager.current_manager.setup
JobsManager.current_manager.start_workers
Minitest.after_run { JobsManager.current_manager.stop_workers }