From e82b1e20331bcc4ff461575e5bfdacbb5bc5729b Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Sat, 6 Dec 2008 14:42:21 +1100 Subject: [PATCH] removed some time_travel setup which are not used here --- spec/validation_methods_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/validation_methods_spec.rb b/spec/validation_methods_spec.rb index be44c1e..ab0f2cd 100644 --- a/spec/validation_methods_spec.rb +++ b/spec/validation_methods_spec.rb @@ -3,15 +3,6 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe ValidatesTimeliness::ValidationMethods do attr_accessor :person - before :all do - # freezes time using time_travel plugin - Time.now = Time.utc(2000, 1, 1, 0, 0, 0) - end - - after :all do - Time.now = nil - end - describe "parse_date_time" do it "should return time object for valid time string" do parse_method("2000-01-01 12:13:14", :datetime).should be_kind_of(Time)