Commit Graph

18 Commits

Author SHA1 Message Date
Avielle c716ce01b4 Replace 'girl' with 'bot' everywhere (#1051)
Also: add a deprecation warning to factory_girl, asking users to switch to
factory_bot

https://github.com/thoughtbot/factory_girl/issues/921
2017-10-20 15:20:28 -04:00
Cédric Boutillier 4a4a0b90f2 Upgrade RSpec and other testing gems 2016-02-07 00:14:25 -05:00
Joshua Clayton b095f24598 Convert to expect syntax 2013-01-18 13:58:36 -05:00
Joshua Clayton e9d9e3099b Prep for FactoryGirl 4.0 2012-08-02 11:17:39 -04:00
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 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 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