mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
4 lines
138 B
Ruby
4 lines
138 B
Ruby
Fabricator(:screened_ip_address) do
|
|
ip_address { sequence(:ip_address) { |n| "123.#{(n * 3) % 255}.#{(n * 2) % 255}.#{n % 255}" } }
|
|
end
|