1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib
Joshua Clayton 2f41dc729e Break out step_definitions into strategies for finding and creating attributes
The change 1b28476713 introduced an issue
where projects not using ActiveRecord would fail because the constant
wasn't defined.

This removes the reliance on ActiveRecord and uses different strategies
for building hashes from cucumber tables based on whether the attributes
are finding a record in the database or creating an instance with
factory girl.
2011-06-30 14:58:01 -04:00
..
factory_girl Break out step_definitions into strategies for finding and creating attributes 2011-06-30 14:58:01 -04:00
factory_girl.rb Split factories/sequences into separate registries most of the time; 2011-05-25 20:08:59 -04:00