tests: replace workoff_active_jobs with perform_enqueued_jobs.

This commit is contained in:
evazion
2019-09-07 22:18:33 -05:00
parent 6b8515811f
commit 258fa06422
6 changed files with 16 additions and 25 deletions

View File

@@ -74,7 +74,7 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
@bur.approve!(@admin)
assert_enqueued_jobs(3)
workoff_active_jobs
perform_enqueued_jobs
@ta = TagAlias.where(:antecedent_name => "foo", :consequent_name => "bar").first
@ti = TagImplication.where(:antecedent_name => "bar", :consequent_name => "baz").first