mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 15:22:58 +00:00
spec text tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user