mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
Revert "Merge pull request #2074 from internetee/1795-validation-contacts-name"
This reverts commite2116a505e
, reversing changes made toded22685c9
.
This commit is contained in:
parent
b0df8f230e
commit
46479dc31b
2 changed files with 0 additions and 15 deletions
|
@ -32,16 +32,6 @@ class ContactTest < ActiveJob::TestCase
|
|||
assert contact.invalid?
|
||||
end
|
||||
|
||||
def test_allowed_and_disallowed_symbols_for_name
|
||||
contact = valid_contact
|
||||
contact.name = 'MARY ÄNN O’CONNEŽ-ŠUSLIK'
|
||||
assert contact.valid?
|
||||
contact.name = 'Boğaçhan Çağlayan'
|
||||
assert contact.valid?
|
||||
contact.name = '# "¤ #" ¤ "?'
|
||||
assert contact.invalid?
|
||||
end
|
||||
|
||||
def test_validates_code_format
|
||||
contact = valid_contact.dup
|
||||
max_length = 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue