We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stubbing is addressed here: https://github.com/alexreisner/geocoder#testing
But I am having problems stubbing a call in my code that looks like:
results = Geocoder.search(self.address lookup: :google)
The default call without specifying the lookup stubs out fine.
Can this be achieved easily? I am pretty new to rails and ruby to know if there is some easy way to configure this?
Thanks!
Also asked on Stack Overflow: https://stackoverflow.com/questions/66832317/how-to-stub-call-in-ruby-geocoder-when-calling-specific-service
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Stubbing is addressed here: https://github.com/alexreisner/geocoder#testing
But I am having problems stubbing a call in my code that looks like:
The default call without specifying the lookup stubs out fine.
Can this be achieved easily? I am pretty new to rails and ruby to know if there is some easy way to configure this?
Thanks!
Also asked on Stack Overflow: https://stackoverflow.com/questions/66832317/how-to-stub-call-in-ruby-geocoder-when-calling-specific-service
The text was updated successfully, but these errors were encountered: