Skip to content

Commit

Permalink
user factory for upcoming test
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-o-matic committed Mar 6, 2010
1 parent 8349451 commit 42b1838
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/factories.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Factory.define(:user) do |u|
u.sequence(:email) { |n| "email#{n}@example.com" }
u.name { "John Doe" }
u.password "password"
u.password_confirmation "password"
end

0 comments on commit 42b1838

Please sign in to comment.