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

7 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
Oliver Peate
0dadb2f19f Allow linting factory strategy to be specified (#1019) 2017-09-28 08:22:16 -04:00
Zuger Cédric
330646ac15 Fix warning: `&' interpreted as argument prefix 2016-05-27 09:55:27 -04:00
Andrew Peterson
702487072c FactoryGirl.lint can lint traits
Why?

Traits are another way to extend or modify behavior of a factory;
because of this, applied traits may result in invalid factories, even if
the base factory is valid.

To enable this functionality, use:

    FactoryGirl.lint traits:true

Note that, because FactoryGirl uses the `create` strategy when linting,
this may greatly slow the time to lint factories.
2016-02-05 09:00:37 -05:00
Andrew Grimm
37d61983ef Fix warnings 2015-04-30 09:30:18 -04:00
Joshua Clayton
f451e4a419 Fresh pass at displaying more detail during linting 2014-10-17 16:40:39 -04:00
Joshua Clayton
5f465f718f Allow selective linting
Closes #653
2014-05-30 11:28:58 -04:00