Timecop

Timecop

A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.

Rubygem timecop

Total Downloads
2936784
Releases
34
Current Version
0.7.1
Released
2013-12-30 00:00:00 UTC
First Release
2009-03-07 05:00:00 UTC

Github travisjeffery/timecop

Watchers
1244
Forks
93
Development activity
Less active
Last commit
2014-03-20 23:23:39 UTC
Contributors
29
Issues
Wiki pages

Resources

Submitted Type Title
2011-08-01 14:28:45 UTC
by Christoph Olszowka
Screencast
railscasts.com referencing Timecop, Fakeweb, VCR, and Webmock 1  

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.