We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a following pundit policy in app/policies folder:
wx_admin_policy.rb
class WxAdminPolicy < Struct.new(:user, :feature) ... end
When I run zeus test will throw an error:
zeus test
superclass mismatch for class WxAdminPolicy (TypeError)
But run bundle exec rspec spec/ will works normally
bundle exec rspec spec/
Then I try to remove Struct.new(:user, :feature) in wx_admin_policy.rb :
Struct.new(:user, :feature)
class WxAdminPolicy ... end
will works too
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a following pundit policy in app/policies folder:
wx_admin_policy.rb
When I run
zeus test
will throw an error:But run
bundle exec rspec spec/
will works normallyThen I try to remove
Struct.new(:user, :feature)
inwx_admin_policy.rb
:will works too
The text was updated successfully, but these errors were encountered: