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

6 commits

Author SHA1 Message Date
Joshua Clayton
29157d69f8 Update Cucumber 2012-04-06 15:47:41 -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
Nick Quaranto
d8aa63a471 make sure the value is a string when calling #strip in step defs since cucumber > 1.0 yields real types instead of strings on matches 2011-07-28 17:22:51 -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