mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-24 14:56:43 +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
|
end
|
||||||
|
|
||||||
it "should convert array for date type into date string" do
|
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"
|
time_string.should == "2000-02-01"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user