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
4d9eb20cbe
Fix step
2011-08-22 13:21:03 -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
Joshua Clayton
a51b97010d
Add dependency on aruba
2011-07-22 11:35:30 -04:00
Joshua Clayton
9c4818a095
Handle aliases within the step definitions
2011-06-30 18:27:25 -04:00
Brice Stacey
87712252ac
Fix step definitions with case sensitive factory name and attributes
...
Closes #95
2011-06-28 12:29:11 -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
Joe Ferris
6b0b3ce748
Use appraisal for testing across ActiveRecord versions
2010-11-11 15:23:15 -06:00
Fernando Ultremare
1b28476713
Allow recursive associations from cucumber table arguments
2010-11-05 10:27:49 -04:00
Tristan Dunn
3e577f3cd5
Clean up whitespace.
2010-06-07 15:51:18 -04:00
Tristan Dunn
1d42b1832a
Properly support pluralized words in generated step definitions.
2010-06-07 11:46:01 -04:00
Jon Yurek
c1a8d772c5
Run tests in 2.1.*, 2.3.*, and 3.0.*
2010-05-20 13:42:45 -04:00
Tristan Dunn
59e66f85c4
Run tests with ActiveRecord 2.3.5 and 3.0.0.beta3! Woo!
2010-05-20 13:39:11 -04:00
romanvbabenko
206dd0984e
Fixed bug with cucumber step definitions and humanized names; fixes
...
gh-48
2010-04-12 10:42:50 -04:00
Joshua Clayton
2cfc4813fa
Cucumber step definitions with blank association columns work intelligently
2010-03-29 17:48:19 -04:00
Joe Ferris
da51a4e48d
Fixes for step definitions involving factories with underscores
2009-09-15 18:14:34 -04:00
Joe Ferris
adce9df6c9
More step definitions
2009-09-15 18:06:24 -04:00
Joe Ferris
db6c46a101
Added alternate formatting for step definitions
2009-09-15 17:58:23 -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