Prem Sichanugrist
40fc48d488
Fix FactoryGirl naming convention
...
So now, we'll always refer to this Gem as FactoryGirl, regardless of
context. This commit is to make it consistence throughout the code base.
2012-07-14 09:22:36 -04:00
Joshua Clayton
3798144bd1
FactoryGirl.reload clears all registries and loads all known definitions
...
Closes #196
2011-09-02 14:45:27 -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