Skip to content

Instantly share code, notes, and snippets.

@dbrady
Created September 9, 2011 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrady/1207289 to your computer and use it in GitHub Desktop.
Save dbrady/1207289 to your computer and use it in GitHub Desktop.
Fixjour do
define_builder(User) do |klass, overrides|
num = counter(:user)
klass.new(
:first_name => "Test#{num}",
:last_name => 'User',
:email => "user#{num}@totallyvaliddomain.com",
:password => 'password',
:password_confirmation => 'password',
:license => 'fakelicensenumber'
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment