Skip to content

Instantly share code, notes, and snippets.

@dagda1

dagda1/factory.rb

Created Oct 5, 2010
Embed
What would you like to do?
Factory.define :user do |user|
user.email {"paul.cowan@hotmail.com"}
user.password {"paulcowan"}
user.password_confirmation {"paulcowan"}
user.association(:role)
end
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.