ニジラー管理(#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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user