2019-04-29 20:27:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-10-21 14:49:51 -04:00
|
|
|
Fabricator(:screened_ip_address) do
|
2023-08-16 22:33:52 -04:00
|
|
|
action_type ScreenedIpAddress.actions[:block]
|
|
|
|
ip_address { sequence(:ip_address) { |i| "99.232.23.#{i % 254}" } }
|
|
|
|
match_count { sequence(:match_count) { |n| n } }
|
|
|
|
last_match_at { sequence(:last_match_at) { |n| Time.now + n.days } }
|
|
|
|
created_at { sequence(:created_at) { |n| Time.now + n.days } }
|
2015-04-24 13:10:43 -04:00
|
|
|
end
|