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/factory_bot/strategy
Daniel Colson e7f66fb2ba Set timestamps after clearing changes
Rather than redefining #created_at and #updated_at, we can use the
existing methods and just set them if there aren't already values
present. We need to do this after clearing changes information,
otherwise the times end up getting converted to the wrong zone.
2018-10-26 15:39:31 -04:00
..
attributes_for.rb Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00
build.rb Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00
create.rb Replace 'girl' with 'bot' everywhere (#1051) 2017-10-20 15:20:28 -04:00
null.rb [Rubocop] Style Cop Offenses (#1208) 2018-10-07 18:02:54 -04:00
stub.rb Set timestamps after clearing changes 2018-10-26 15:39:31 -04:00