Ruby - Testing with RSpec and Minitest
You want to test a method that calls an external API method
fetch_data on a Service object. How can you use mocking and stubbing together to test your method without calling the real API?