tests: fix alias/implication tests.

This commit is contained in:
evazion
2019-08-17 02:41:07 -05:00
parent 868a2256d1
commit 145894fe8b
5 changed files with 33 additions and 23 deletions

View File

@@ -72,6 +72,9 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
@bur = FactoryBot.create(:bulk_update_request, :script => @script)
@bur.approve!(@admin)
assert_enqueued_jobs(2)
workoff_active_jobs
@ta = TagAlias.where(:antecedent_name => "foo", :consequent_name => "bar").first
@ti = TagImplication.where(:antecedent_name => "bar", :consequent_name => "baz").first
end