mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Added in-line sequences
This commit is contained in:
parent
c2f8e97eb3
commit
f7a3ca5001
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class Factory
|
|||
s = Sequence.new(&block)
|
||||
add_attribute(name) { s.next }
|
||||
end
|
||||
|
||||
|
||||
# Generates and returns a Hash of attributes from this factory. Attributes
|
||||
# can be individually overridden by passing in a Hash of attribute => value
|
||||
# pairs.
|
||||
|
|
Loading…
Reference in a new issue