We'll respond shortly.
“We are using
It’s not possible to stub a delegated method; stub it on the object
delegated to instead.
In order to get an accurate number of days since the epoch, do this:
(Time.now.to_f / 60 / 60 / 24).round. The key here is the
to_i to prevent losing precision early on.