alphagov/spotlight — pull request #772 by lennym (2014-08-27 13:32:01+00:00)
Title: Remove computed date diffs from tests

Having a hard-coded date and a computed diff means that that test will fail and need fixing once a year.

By stubbing the method we stop being dependent on the date diffs actually matching the current date.