mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
nameserver change tracking
This commit is contained in:
parent
ed34483bc2
commit
6b783fd45e
8 changed files with 44 additions and 26 deletions
|
@ -13,7 +13,7 @@ describe Address, '.extract_params' do
|
|||
ph = { postalInfo: { name: 'fred', addr: { cc: 'EE', city: 'Village', street: %w(street1 street2) } } }
|
||||
expect(Address.extract_attributes(ph[:postalInfo])).to eq({
|
||||
address_attributes: {
|
||||
country_id: 1,
|
||||
country_id: Country.find_by(iso: 'EE').id,
|
||||
city: 'Village',
|
||||
street: 'street1',
|
||||
street2: 'street2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue