230 Forks
3260 Stars
3260 Watchers

timecop

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

How to download and setup timecop

Open terminal and run command
git clone https://github.com/travisjeffery/timecop.git
git clone is used to create a copy or clone of timecop repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with timecop https://github.com/travisjeffery/timecop/archive/master.zip

Or simply clone timecop with SSH
[email protected]:travisjeffery/timecop.git

If you have some problems with timecop

You may open issue on timecop support forum (system) here: https://github.com/travisjeffery/timecop/issues

Similar to timecop repositories

Here you may see timecop alternatives and analogs

 enzyme    mocha    fastlane    rails    jekyll    discourse    gitlabhq    awesome-interview-questions    devise    ruby    ruby-style-guide    brew    diaspora    selenium    capistrano    sinatra    spree    rubocop    awesome-ruby    sidekiq    grape    postal    activeadmin    Command-line-text-processing    kaminari    simple_form    faker    fluentd    factory_bot    awesomo