validates_timeliness/spec/date_helper_spec.rb
Adam Meehan d22aa94b89 changed version check to Rails constant as AR VERSION not loaded by
default
changed time component validation to use dummy date parts to avoid pre
epoch issues
2008-05-14 08:54:50 +10:00

12 lines
356 B
Ruby

#require File.dirname(__FILE__) + '/spec_helper'
#describe ValidatesTimeliness::DateHelper::InstanceTag do
# it "should return struct for time string" do
# object = mock("Model", :birth_date_and_time_before_type_cast => "2008-01-01 12:00:00")
# struct = value_with_timeliness(object)
# struct.should be_kind_of(DateTimeStruct)
# end
#end