1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

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

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