tests: add more Tag.search tests.

Improve tag model test coverage.
This commit is contained in:
evazion
2020-06-24 18:39:55 -05:00
parent 4074cc99f9
commit b09350c0dc
2 changed files with 27 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
FactoryBot.define do
factory(:tag) do
name {"#{FFaker::Name.first_name.downcase}#{rand(1000)}"}
post_count {0}
post_count { 100 }
category {Tag.categories.general}
factory(:artist_tag) do