spec/support/models/authorizy_cop.rb in authorizy-0.4.1 vs spec/support/models/authorizy_cop.rb in authorizy-0.5.0

- old
+ new

@@ -3,9 +3,13 @@ class AuthorizyCop < Authorizy::BaseCop def admin__dummy params[:admin] == 'true' end + def custom_params + params[:custom] == 'true' + end + def dummy params[:access] == 'true' end def fetch_action