0
當我嘗試寫RSpec的測試中,我得到一個錯誤CanCanCan,門衛和RSpec
CanCan::AuthorizationNotPerformed:
This action failed the check_authorization because it does not authorize_resource. Add skip_authorization_check to bypass this check.
雖然CanCanCan配置和控制器具有
before_action: doorkeeper_authorize!
測試題庫,當我在指定控制器甚至是
skip_authorization_check