mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Improve RegistrantChangeMailer
- Do not show registrant address unless "address_processing" is enabled - Add missing registrant state and zip attributes #480
This commit is contained in:
parent
2c648ddc84
commit
bfc0c0b74f
14 changed files with 164 additions and 43 deletions
|
@ -523,4 +523,12 @@ RSpec.describe Contact, db: false do
|
|||
specify { expect(contact.id_code).to be_nil }
|
||||
end
|
||||
end
|
||||
|
||||
describe '#ident_country' do
|
||||
let(:contact) { described_class.new(ident_country_code: 'US') }
|
||||
|
||||
it 'returns ident country' do
|
||||
expect(contact.ident_country).to eq(Country.new('US'))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue