remove multiparameter time format example for 2.0.x because sqlite didn't support time column types in that version

This commit is contained in:
Adam Meehan 2008-11-29 10:52:03 +11:00
parent 5a4be4a91e
commit 21d26ee2b1

View File

@ -38,10 +38,12 @@ describe ValidatesTimeliness::MultiparameterAttributes do
obj.should_receive(:birth_date=).once.with("2000-02-01")
obj.send(:execute_callstack_for_multiparameter_attributes, @callstack)
end
it "should store time string for a time column" do
obj.should_receive(:birth_time=).once.with("09:10:11")
obj.send(:execute_callstack_for_multiparameter_attributes, @callstack)
unless RAILS_VER < '2.1' # sqlite doesn't support :time attribute in rails 2.0.x
it "should store time string for a time column" do
obj.should_receive(:birth_time=).once.with("09:10:11")
obj.send(:execute_callstack_for_multiparameter_attributes, @callstack)
end
end
end