ruby-enum icon indicating copy to clipboard operation
ruby-enum copied to clipboard

Add Subclass Tests

Open coneybeare opened this issue 1 year ago • 2 comments

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)

coneybeare avatar Aug 16 '24 09:08 coneybeare

1 Warning
: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 :no_entry_sign: Danger

dangerpr-bot avatar Aug 16 '24 15:08 dangerpr-bot

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.

dblock avatar Aug 16 '24 15:08 dblock

https://github.com/dblock/ruby-enum/commit/9b4f941ed03f2d3a6ca569ee846e1e69dfffe2ec

dblock avatar Dec 30 '25 17:12 dblock