Authorization testing in Rails
https://minitestrails.com/guide/authorization-testing/
Chapter 13 of the free Minitest Rails guide is out now. Learn how to test Rails authorization with Minitest:
- Test resource ownership
- Test non-owner access
- Test authorization with a small DIY custom check suitable for hobby projects
- Test authorization with Action Policy gem, a perfect match for production apps
Post a comment