#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