mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Fixed tests
This commit is contained in:
parent
76e19b7e90
commit
f5e7f23ddf
6 changed files with 8 additions and 30 deletions
|
@ -7,8 +7,7 @@ end
|
|||
|
||||
describe Address, '.extract_params' do
|
||||
|
||||
# TODO: please fix
|
||||
it 'returns params hash', pending: true do
|
||||
it 'returns params hash' do
|
||||
Fabricate(:country, iso: 'EE')
|
||||
ph = { postalInfo: { name: 'fred', addr: { cc: 'EE', city: 'Village', street: %w(street1 street2) } } }
|
||||
expect(Address.extract_attributes(ph[:postalInfo])).to eq({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue