mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +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)
|
||||
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")
|
||||
should_have_error(:birth_date, :invalid_date)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user