Timecop comparison with DateTime.now fails with different formats

前端 未结 0 1587
梦如初夏
梦如初夏 2021-02-12 13:37

I am using timecop to validate that a field is being populated with the current date and time. Here is an excerpt of my test

      Timecop.freeze(Dat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题