aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/helper.rb')
-rw-r--r--test/helper.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/helper.rb b/test/helper.rb
index 0e51396517..7ba7607df2 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -4,9 +4,11 @@ Bundler.setup
$LOAD_PATH << File.dirname(__FILE__) + "/../lib"
require 'active_job'
-require "adapters/#{ENV['AJADAPTER'] || 'inline'}"
-puts "Testing using #{ENV['AJADAPTER'] || 'inline'}"
+adapter = ENV['AJADAPTER'] || 'inline'
+require "adapters/#{adapter}"
+puts "Testing using #{adapter}"
+
require 'active_support/testing/autorun'