My method makes a HTTParty get request depending on parameters. The method handles response and raises custom error messages on basis of the response. I am using minitest to test this functionality. I do not want to make actual calls during the test. How can I stub the HTTParty get request inside the method with params?
Comments
Post a Comment