mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
e7f66fb2ba
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. |
||
---|---|---|
.. | ||
attributes_for.rb | ||
build.rb | ||
create.rb | ||
null.rb | ||
stub.rb |