mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 18:46:23 -05:00
6 lines
136 B
Ruby
6 lines
136 B
Ruby
|
Fabricator(:incoming_link) do
|
||
|
user
|
||
|
post
|
||
|
ip_address { sequence(:ip_address) { |n| "123.#{(n*3)%255}.#{(n*2)%255}.#{n%255}" } }
|
||
|
end
|