#1628·geocoder

Allow `address_components_of_type` for Geocoder::Result::Test

Author: loqimeanCreated Aug 15, 2023Updated Jun 5, 2025

Expected behavior

To have all methods or only this

Actual behavior

undefined method `address_components_of_type' for #<Geocoder::Result::Test:..

Steps to reproduce

mock request and run a test that calls an address_components_of_type method

Environment info

No one

  • Geocoder version: latest
  • Rails version: 7
  • Database (if applicable): postgresql