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

[JANSA] [session_extension.rb] Fix superclass mismatch #21132

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

NickLaMuro
Copy link
Member

This is a backport of d8114bf which is from the Rails 6.0 PR since rails/rails@13a0726 was backported to Rails 5.2 recently.

Original commit message below:


This was changed in new versions of actionpack, and without this change, the following error is given:

    TypeError:
      superclass mismatch for class TestSession
    # actionpack-6.0.3.3/lib/action_controller/test_case.rb:179:in `<module:ActionController>'
    # ...
    # ./spec/spec_helper.rb:11:in `<top (required)>'
    No examples found.

Links

Steps for Testing/QA

Hopefully will make the tests pass.

This was changed in new versions of `actionpack`, and without this
change, the following error is given:

    TypeError:
      superclass mismatch for class TestSession
    # actionpack-6.0.3.3/lib/action_controller/test_case.rb:179:in `<module:ActionController>'
    # ...
    # ./spec/spec_helper.rb:11:in `<top (required)>'
    No examples found.
@NickLaMuro NickLaMuro changed the title [rails6][session_extension.rb] Fix superclass mismatch [jansa][rails6][session_extension.rb] Fix superclass mismatch Mar 30, 2021
@NickLaMuro NickLaMuro changed the title [jansa][rails6][session_extension.rb] Fix superclass mismatch [jansa][session_extension.rb] Fix superclass mismatch Mar 30, 2021
Copy link
Member

@jrafanie jrafanie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a constant problem.

@NickLaMuro
Copy link
Member Author

@jrafanie you're a constant problem...

@Fryguy Fryguy merged commit ea0c67c into ManageIQ:jansa Mar 30, 2021
@Fryguy Fryguy changed the title [jansa][session_extension.rb] Fix superclass mismatch [JANSA] [session_extension.rb] Fix superclass mismatch Mar 30, 2021
@Fryguy Fryguy self-assigned this Mar 30, 2021
@Fryguy Fryguy added the bug label Mar 30, 2021
@kbrock
Copy link
Member

kbrock commented Mar 30, 2021

build for this is causing failures on Jansa - pretty sure it is basic sporadic failures that re resolved elsewhere

they have been back-ported and this should no longer be an issue.

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

Successfully merging this pull request may close these issues.

4 participants