Skip to content
New issue

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

Cypress 5.4.1 Cannot view Test Executions - Cancancan version #1432

Open
iamtheschmitzer opened this issue Sep 13, 2020 · 1 comment
Open

Comments

@iamtheschmitzer
Copy link

iamtheschmitzer commented Sep 13, 2020

When I click on an executed test .../test_executions/new I get the HTTP ERROR 500.

Tracing into the callstack I see an error raised in cancan/rule.rb

NameError: uninitialized constant CanCan::Rule::ActiveRecord Did you mean? ActiveModel

from this line

    def with_scope?
      @conditions.is_a?(ActiveRecord::Relation)
    end

We are using ruby 2.6.3, and cancancan (3.0.1)

Looking at the Gemfile, a cancancan version constraint is not specified

Any ideas what version it should be?

@iamtheschmitzer iamtheschmitzer changed the title Cypress 5.4.1 Cannot view Test Executions - Cancan version Cypress 5.4.1 Cannot view Test Executions - Cancancan version Sep 13, 2020
@iamtheschmitzer
Copy link
Author

Problem also exists in Cypress 6.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant