No commit activity in last 3 years
No release in over 3 years
Warp time zones in your tests.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme
time-zone-warp
=========

If time zone support is critical to your app, it's often necessary to test
various methods as if they were being run in a specific time zone.


Installation
============

Gem:

$ sudo gem install time-zone-warp

Gem config in a Rails app. Add to test.rb:

config.gem 'time-zone-warp', :lib => 'time_zone_warp'


Example
=======

  class UserTest < Test::Unit::TestCase
    test "code works in other time zones" do
      pretend_zone_is "Mountain Time (US & Canada)" do
        # assertions go here
      end
    end
  end


Copyright (c) 2009 Adeptware, Inc.  Released under the MIT license.