removed some time_travel setup which are not used here

This commit is contained in:
Adam Meehan 2008-12-06 14:42:21 +11:00
parent 2ba85772b6
commit e82b1e2033

View File

@ -3,15 +3,6 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe ValidatesTimeliness::ValidationMethods do describe ValidatesTimeliness::ValidationMethods do
attr_accessor :person 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 describe "parse_date_time" do
it "should return time object for valid time string" 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) parse_method("2000-01-01 12:13:14", :datetime).should be_kind_of(Time)