I know this has been asked before but since a newer version came out and since the last relevant post was dated 2 years ago, I was wondering to those who use this and follow TDD to the T, what's your approach in testing all of it's functionality (geocode, near, within_bounding_box, distance, etc).
Currently, there is a method for doing that.
My question is, how would you stub multiple results? Because you'd need multiple data for testing near, within_bounding_box, distance or other calculated functionality.
Thanks for your time reading this and any feedback that may come!
You would simply pass more than one address into the stub and call it before your tests: