1
0
Fork 0
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:
eugenebolshakov 2009-01-06 17:31:44 -05:00 committed by Joe Ferris
parent c2f8e97eb3
commit f7a3ca5001

View file

@ -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.