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

@@ -108,8 +108,9 @@ class ArtistTest < ActiveSupport::TestCase
end
should "create a new tag implication" do
workoff_active_jobs
assert_equal(1, TagImplication.where(:antecedent_name => "aaa", :consequent_name => "banned_artist").count)
assert_equal("aaa banned_artist", @post.tag_string)
assert_equal("aaa banned_artist", @post.reload.tag_string)
end
should "set the approver of the banned_artist implication" do