Fixed a sequence example in the README

This commit is contained in:
Joe Ferris 2009-02-19 09:40:26 -05:00
parent 3ace255c43
commit ab50abb53f
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ And it's also possible to define an in-line sequence that is only used in
a particular factory:
Factory.define :user do |f|
f.sequence :email {|n| "person#{n}@example.com" }
f.sequence(:email) {|n| "person#{n}@example.com" }
end
== Alternate Syntaxes