mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Contact got correct birthday and country code epp errors
This commit is contained in:
parent
61ee8ef9f5
commit
a8e43dd6cc
5 changed files with 15 additions and 10 deletions
|
@ -149,7 +149,8 @@ describe Contact do
|
|||
invalid.each do |date|
|
||||
@contact.ident = date
|
||||
@contact.valid?
|
||||
@contact.errors.full_messages.should == ["Ident is invalid"]
|
||||
@contact.errors.full_messages.should ==
|
||||
["Ident Ident not in valid birthady format, should be YYYY-MM-DD"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue