mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
spec text tweaks
This commit is contained in:
parent
ea6ec0cd75
commit
64ffb52dae
@ -82,7 +82,7 @@ describe ValidatesTimeliness::Validator do
|
|||||||
configure_validator(:type => :date)
|
configure_validator(:type => :date)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should have invalid error value is invalid" do
|
it "should have invalid error when value is invalid" do
|
||||||
validate_with(:birth_date, "2000-01-32")
|
validate_with(:birth_date, "2000-01-32")
|
||||||
should_have_error(:birth_date, :invalid_date)
|
should_have_error(:birth_date, :invalid_date)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user