Updated contact doc and added too long epp message #2753

This commit is contained in:
Priit Tark 2015-07-21 17:02:31 +03:00
parent 1143e16354
commit d4a0f1e783
7 changed files with 19 additions and 16 deletions

View file

@ -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