From the perspective of testing app code, the system clock should be treated no differently than a network integration. Keep time at the periphery of the app; deeply nested units should have it passed in to retain functional purity and stave off the desire to mock it.
Replying to @searls
Tests should use http://Time.now and not handle time zones properly so the tests start failing at 5 PM and remind you to go home.
7:13 AM - 15 May 2018
0 replies
2 retweets
28 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.