[rspec-users] [cucumber] Cucumber and Chronic

Mark Wilden mark at mwilden.com
Sun Mar 1 18:30:45 EST 2009


On Sun, Mar 1, 2009 at 11:07 AM, Mark Wilden <mark at mwilden.com> wrote:
>
> Just be careful when when basing durations from "now" that daylight
> savings time doesn't affect anything.

Along the same lines, don't write tests that assume 1.month.ago was <
29 days ago, or specs could start failing in March (as just happened
with us). :)

///ark


More information about the rspec-users mailing list