Skip to content

Instantly share code, notes, and snippets.

@melvinram
Created January 18, 2013 19:13
Show Gist options
  • Save melvinram/4567407 to your computer and use it in GitHub Desktop.
Save melvinram/4567407 to your computer and use it in GitHub Desktop.
FactoryGirl.define do
# sequence :email do |n|
# "email#{n}@example.com"
# end
# factory :user do
# email { Factory.next(:email) }
# password "password"
# password_confirmation "password"
# association :account
# end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment