1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix que integration in Active Job tests

Que.mode was removed in 6783fdd68a
and replaced by Que.run_synchronously = true per changelog:
fa4988ee33/CHANGELOG.md (L120)

It looks like it started failing because Que 1.0 was released yesterday.
This commit is contained in:
Hartley McGuire 2022-01-24 15:51:40 -05:00
parent be9d34b9bc
commit ee5d18bb92

View file

@ -3,4 +3,4 @@
require "support/que/inline"
ActiveJob::Base.queue_adapter = :que
Que.mode = :sync
Que.run_synchronously = true