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

4 commits

Author SHA1 Message Date
Daniel Colson
b4e1303904 Remove backport fro ActiveModel:Dirty
factory_bot 5 only supports Rails 4.2 and higher,
and #clear_changes_information has been around since then
(66d0a01535).

Fixes #941, since we will are no longer managing any instance variables.
2018-09-14 18:58:17 +00:00
Mandaryn
f1f7719f6e Do not add missing timestamps when using build stubbed strategy 2018-08-05 17:46:38 -04:00
Michael Koper
3db8a120ba Do not raise error for valid build_stubbed methods
decrement, increment, and toggle do not persist the toggled values, so
there is not reason to disable those methods.

Co-authored-by: Alex Tsui <alextsui05@gmail.com>
2018-08-05 17:14:46 -04:00
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