Skip to content

Business intelligence made simple

Fixed CI

Andrew Kane6002e285d2c2
diff --git a/test/test_helper.rb b/test/test_helper.rb
index fe78e408..0fe9bf7b 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -18,6 +18,8 @@ end
Rails.cache.logger = logger
class ActionDispatch::IntegrationTest
+ include ActiveJob::TestHelper if Rails::VERSION::MAJOR < 6
+
def run_query(statement, format: nil, **params)
post blazer.run_queries_path(format: format), params: {statement: statement, data_source: "main"}.merge(params), xhr: true
assert_response :success