Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Apr 18, 2022
1 parent 4e61579 commit 6002e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
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
Expand Down

0 comments on commit 6002e28

Please sign in to comment.