Your specs should be in spec/api
folder.
Add this line to your application's Gemfile:
gem 'rspec-rails-request_logger', git: 'https://github.com/dm1try/rspec-rails-request_logger'
And then execute:
$ bundle
- Run tests
- Check
test-request-result.html
inpublic
folder