Fixes failing spec caused by imprecise date comparison on slow CI server...

I noticed a failing spec on travis a few times now. I changed the way of the date comparison in the spec to make sure it also passes on slow CI servers.