From 3c9b26c24744ad08b5dc455d9098d32ca9f386f0 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 26 Dec 2018 20:16:59 -0600 Subject: [PATCH] tests: fix *_(cosplay) tagging test (fixup for 51b08d224). --- test/unit/post_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/post_test.rb b/test/unit/post_test.rb index 2af27e446..8f7726bd0 100644 --- a/test/unit/post_test.rb +++ b/test/unit/post_test.rb @@ -764,6 +764,8 @@ class PostTest < ActiveSupport::TestCase end should "apply implications after the character tag is added" do + FactoryBot.create(:tag, name: "jimmy", category: Tag.categories.character) + FactoryBot.create(:tag, name: "jim", category: Tag.categories.character) FactoryBot.create(:tag_implication, antecedent_name: "jimmy", consequent_name: "jim") @post.add_tag("jimmy_(cosplay)") @post.save