Joshua Clayton
ed598ec54c
Update repo to follow thoughtbot guide for whitespace in blocks
2013-12-14 22:33:15 -05:00
Joshua Clayton
f1fd650048
Clean up documentation
2012-05-05 02:31:31 -04:00
Joshua Clayton
d8db256664
Style cleanup
2012-05-05 00:53:19 -04:00
Joshua Clayton
a4e75163c8
Load definition files instead of require so re-running find_definitions works as expected
...
Closes #161
2011-07-29 14:00:08 -04:00
Joshua Clayton
17f3ef408d
Fix find_definitions to expand the path instead of always prepending .
2011-07-22 14:47:47 -04:00
Joshua Clayton
c47affb1aa
Requiring factory definition files now works in 1.9 outside of tests
...
Ruby 1.9 doesn't automatically include . in the load path; if we do a
require to a relative path (eg a file within spec or test), 1.9 will raise a
LoadError because spec or test isn't normally in the load path.
2011-07-22 11:53:21 -04:00
Joshua Clayton
e552dc322e
Find definitions handles subdirectories
...
Closes #150
2011-06-27 15:24:49 -04:00
Joe Ferris
c59981de1b
Split factories/sequences into separate registries most of the time;
...
Only use factories from step definitions
2011-05-25 20:08:59 -04:00
David N. Welton
b26a439fe8
Perform a sort on files loaded from the factories/ directory.
...
We do this so that it's possible to know the order in which the files
will be loaded. This is important if there are interdependencies.
2010-08-25 11:14:44 -04:00
Joe Ferris
8b4a6a1c3a
Moved definition loading syntax out of the factory class; moved everything into a FactoryGirl module
2010-07-06 20:22:02 -04:00