Commit Graph

12 Commits

Author SHA1 Message Date
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 05ddd3d6b5 Only strip strings in step definitions
This allows for cucumber transforms to create different data structrues
and still work with factory girl steps.

Closes #185
2011-08-22 13:16:32 -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
Fernando Ultremare 1b28476713 Allow recursive associations from cucumber table arguments 2010-11-05 10:27:49 -04:00
Tristan Dunn 1d42b1832a Properly support pluralized words in generated step definitions. 2010-06-07 11:46:01 -04:00
Joe Ferris ba6cfea5c7 Switched to use horizontal Cucumber tables instead of vertical 2009-09-15 17:38:40 -04: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 42dbfc8a60 Support plural steps 2009-09-15 15:54:21 -04:00
Joe Ferris 760a165b2e Added step definitions for cucumber 2009-09-15 15:47:47 -04:00