mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
3 lines
No EOL
127 B
Ruby
3 lines
No EOL
127 B
Ruby
Fabricator(:screened_ip_address) do
|
|
ip_address { sequence(:ip_address) { |n| "123.#{(n*3)%255}.#{(n*2)%255}.#{n%255}" } }
|
|
end |