Pundit v2.4.0 is available on ruby gems #828
Burgestrand
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release contains some development-time comfort: error messages, rspec matcher descriptions, and focus support.
Improve
NotAuthorizedError
message to include policy class (#812)Default error message changed from:
To include the policy class:
Improve
NotAuthorizedError
when record is a class (#812)Before:
After:
Allow customizing rspec matcher description (#806)
Before:
In
spec_helper.rb
:After:
Add support for filter_run_when_matching :focus with permissions helper (#820)
If your RSpec config has filter_run_when_matching :focus, you may tag the permissions helper like so:
Beta Was this translation helpful? Give feedback.
All reactions