mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 15:22:58 +00:00
renamed calls to timeliness_date_time_parse to parse_date_time which will correctly an overrided method
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user