Fixed test errors

This commit is contained in:
Sergei Tsõganov 2022-06-06 16:30:57 +03:00
parent 3812e398bf
commit b505de2f0f

View file

@ -155,7 +155,7 @@ module Repp
end
def serialized_contacts(contacts)
return contacts.map(&code) unless index_params[:details] == 'true'
return contacts.map(&:code) unless index_params[:details] == 'true'
address_processing = Contact.address_processing?
contacts.map do |c|