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

@@ -93,7 +93,7 @@ class ArtistTest < ActiveSupport::TestCase
end
should "create a new tag implication" do
workoff_active_jobs
perform_enqueued_jobs
assert_equal(1, TagImplication.where(:antecedent_name => "aaa", :consequent_name => "banned_artist").count)
assert_equal("aaa banned_artist", @post.reload.tag_string)
end