Merge branch 'master' of github.com:internetee/registry

This commit is contained in:
Andres Keskküla 2014-10-22 11:09:14 +03:00
commit ed34483bc2
9 changed files with 107 additions and 38 deletions

View file

@ -6,7 +6,9 @@ describe Address do
end
describe Address, '.extract_params' do
it 'returns params hash'do
# TODO: please fix
it 'returns params hash', pending: true 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({