DEV Community

Discussion on: RSpec - Writing Test Code In Ruby (3/3)

 
andrewbrown profile image
Andrew Brown 🇨🇦 • Edited

Wouldn't you want to mock the third-party api endpoints within your tests?
I'm guessing you're thinking to use HTTParty to test live endpoints.

Are these API endpoints external or the app's endpoints?
Also another question is this Rails or you rolling your own testing solution?