renamed calls to timeliness_date_time_parse to parse_date_time which will correctly an overrided method

This commit is contained in:
Adam Meehan
2008-07-21 13:48:25 +10:00
parent 539f823b8b
commit 5e08a10fb0
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ describe ValidatesTimeliness::AttributeMethods do
strict_time_type_cast("2000-02-01 25:13:14").should be_nil
end
it "should return time object for time object" do
it "should return Time object when passed a Time object" do
strict_time_type_cast(Time.now).should be_kind_of(Time)
end