mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
changed spec to be like rails behaviour
This commit is contained in:
parent
69ac9e678d
commit
59caa86618
@ -11,7 +11,7 @@ describe ValidatesTimeliness::MultiparameterAttributes do
|
||||
end
|
||||
|
||||
it "should convert array for date type into date string" do
|
||||
time_string = obj.time_array_to_string([2000,2,1,0,0,0], :date)
|
||||
time_string = obj.time_array_to_string([2000,2,1], :date)
|
||||
time_string.should == "2000-02-01"
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user