mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Improve addressing tests
This commit is contained in:
parent
e40353042e
commit
414519d17f
3 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,7 @@ class ContactTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_normalizes_country_code
|
||||
Setting.address_processing = true
|
||||
contact = Contact.new(country_code: 'us')
|
||||
contact.validate
|
||||
assert_equal 'US', contact.country_code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue