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:
parent
3ace255c43
commit
ab50abb53f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue