Sha256: 6f64755bb74b68f44f208f94c9bee19e0706650897139f823cf34ce9c38c6675
Contents?: true
Size: 973 Bytes
Versions: 4
Compression:
Stored size: 973 Bytes
Contents
# Cucumber Timecop gem This gem install [timecop](https://github.com/travisjeffery/timecop) and [chronic](https://github.com/mojombo/chronic) gems and also include a cucumber step definition to use Timecop in you features. ## Installation Add this line to your application's Gemfile: gem 'cucumber-timecop', :require => false And then execute: $ bundle Or install it yourself as: $ gem install cucumber-timecop ## Usage Add the following line to the features/support/env.rb: require 'cucumber/timecop' When this gem is installed, you can use the following cucumber steps: Given it is currently 2 days ago Given time is frozen at midnight Given I jump in our Delorean and return to the present ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cucumber-timecop-0.0.6 | README.md |
cucumber-timecop-0.0.5 | README.md |
cucumber-timecop-0.0.4 | README.md |
cucumber-timecop-0.0.3 | README.md |