tests: replace workoff_active_jobs with perform_enqueued_jobs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user