mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Alias attribute
This commit is contained in:
parent
bff2d88036
commit
26fa15f76c
2 changed files with 8 additions and 0 deletions
|
@ -145,6 +145,12 @@ class RegistrarTest < ActiveSupport::TestCase
|
|||
assert registrar.invalid?
|
||||
end
|
||||
|
||||
def test_aliases_contact_email_to_email
|
||||
email = 'info@registrar.test'
|
||||
registrar = Registrar.new(email: email)
|
||||
assert_equal email, registrar.contact_email
|
||||
end
|
||||
|
||||
def test_full_address
|
||||
registrar = Registrar.new(address_street: 'Main Street 1', address_zip: '1234',
|
||||
address_city: 'NY', address_state: 'NY State')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue