ニジラー管理(#247) (#275)

#247

#247

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #275
This commit was merged in pull request #275.
This commit is contained in:
2026-03-05 20:35:11 +09:00
parent 7d1a87f452
commit e0e7a22c38
12 changed files with 438 additions and 4 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
FactoryBot.define do
factory :tag do
category { 'general' }
category { :general }
post_count { 0 }
association :tag_name
trait :nico do
category { 'nico' }
category { :nico }
tag_name { association(:tag_name, name: "nico:#{ SecureRandom.hex(4) }") }
end
end