Skip to content

Conversation

coneybeare
Copy link

@coneybeare coneybeare commented Aug 16, 2024

In my project, I came across an issue that I cannot reproduce in the tests, so it must be a difference in the way I load the rails project code, or perhaps in the switch to Zeitwerk loader. None-the-less, here are two tests that show superclass handling is working correctly for values.

I could not reproduce on the latest version of ruby (3.3.4 at the time of this PR)

@dangerpr-bot
Copy link

1 Warning
⚠️ Unless you're refactoring existing code or improving documentation, please update CHANGELOG.md.

Here's an example of a CHANGELOG.md entry:

* [#50](https://github.com/dblock/ruby-enum/pull/50): Add subclass tests - [@coneybeare](https://github.com/coneybeare).

Generated by 🚫 Danger

@dblock
Copy link
Owner

dblock commented Aug 16, 2024

Interesting! I'd love to know what's going on in your project.

Care to update rubocop to get a 🍏 build? I'd like to merge the tests.

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

Successfully merging this pull request may close these issues.

3 participants