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

9 commits

Author SHA1 Message Date
Nathan Sutton
8f3b24a559 Fixing inheritance of callbacks
Since callbacks share the same names they wouldn't be inherited.
I added a check to allow them to be inherited.
2009-10-10 00:23:57 -05:00
Nathan Sutton
6e35bf9207 Adding callbacks 2009-10-09 23:46:19 -05:00
Joe Ferris
33b61c3bfb Fixed issues with some attributes being skipped and added support for linked associations in step definitions 2009-09-15 16:56:20 -04:00
Joe Ferris
760a165b2e Added step definitions for cucumber 2009-09-15 15:47:47 -04:00
Jason Morrison
452676dfc4 Plugging a leaky block scoped variable that Ruby 1.9 was more strict about
Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-06-16 20:21:09 -04:00
Nick Quaranto
4ecd2f1178 Refactored Factory#stub so it uses a real instance and throws exceptions when connections to the database are triggered. 2009-04-28 15:08:27 -04:00
Peter Suschlik
263e7be9da Fix exception message when defining attr writer.
Before this patch the message looked like:
factory_girl uses 'f.test value' syntax rather than 'f.test= = value'

Signed-off-by: Nick Quaranto <nick@quaran.to>
2009-04-20 17:09:20 -04:00
Joe Ferris
fa3a555c19 Added an exception when defining a sequence from a dynamic attribute block [#43 state:resolved] 2009-04-13 21:39:34 -04:00
Joe Ferris
683aa43fab Converted tests to specs 2009-04-13 21:15:25 -04:00