Timecop comparison with DateTime.now fails with different formats

前端 未结 0 557
挽巷
挽巷 2021-02-12 14:11

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         


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