test: fix broken tests.

This commit is contained in:
evazion
2020-04-21 00:23:38 -05:00
parent 4041ff6f7e
commit 4abff072b7
6 changed files with 12 additions and 29 deletions

View File

@@ -63,6 +63,6 @@ module TagRelationshipRetirementService
end
def is_unused?(name)
return !Post.tag_match("status:any #{name}").where("created_at > ?", THRESHOLD.ago).exists?
!Post.raw_tag_match(name).where("created_at > ?", THRESHOLD.ago).exists?
end
end