Online English Conversation etc. If you want to check the screen that says "Lessons will start at that time after booking a lesson for the teacher" It can be used in cases where you want to check the behavior.
Time cop is good for time travel in rails.
# 2020/11/11 Move at 21:00
Timecop.travel(Time.zone.parse('2020/11/11 21:00:00'))
There is also a warm debugging work to write the above description on the controller each time, It is easy to be able to operate on the browser in the case of develop mode.
https://github.com/umeyuki/rails-timetraveler-sample
Recommended Posts