mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Updated contact doc and added too long epp message #2753
This commit is contained in:
parent
1143e16354
commit
d4a0f1e783
7 changed files with 19 additions and 16 deletions
|
@ -97,7 +97,7 @@ describe Contact do
|
|||
it 'should not accept long code' do
|
||||
@contact.code = 'verylongcode' * 100
|
||||
@contact.valid?
|
||||
@contact.errors[:code].should == ['is too long (maximum is 100 characters)']
|
||||
@contact.errors[:code].should == ['Contact code is too long, max 100 characters']
|
||||
end
|
||||
|
||||
it 'should have no related domain descriptions' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue