Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
factory girl sequence for an ip address
sequence(:ip_address) { |n|, Socket::AF_INET).to_s }
# { |n| "10.0.0.#{n}" } caused spec flakiness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.