Testing a Rails API with Request Specs (Test Driven RSpec, Ep 02)

Опубликовано: 02 Октябрь 2024
на канале: Brett Codes
22,405
290

Brett walks through the process of testing a Ruby on Rails API that returns JSON with RSpec request specs.

Code from the episode: https://github.com/brettchalupa/test-...

Support my screencasts by buying me a coffee: https://www.buymeacoffee.com/brettcha...

Software used:

- Ruby 2.4.2
- RSpec 3.6.1
- Rails 5.1.4
- Mac OS
- iTerm 2
- Vim
- Tmux

Let me know if you run into any issues or have any specific topics you'd like covered.