b47cdc7ad7
#327 #327 #327 #327 Merge remote-tracking branch 'origin/main' into feature/327 #327 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #342
11 lines
192 B
Ruby
11 lines
192 B
Ruby
FactoryBot.define do
|
|
factory :ip_address do
|
|
ip_address { IPAddr.new('203.0.113.10').hton }
|
|
banned_at { nil }
|
|
|
|
trait :banned do
|
|
banned_at { Time.current }
|
|
end
|
|
end
|
|
end
|