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

Rename spec files as _spec.rb so they run #1633

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

traylenator
Copy link

A batch of spec files were never being executed due to having the wrong name.

Tests have all been marked pending as I expect they have never passed.

Fixing them , deleting them or updating how the module works is best handled elsewhere as not very obvious.

A number of spec files were named incorrectly and consequently never
running.

Rename them so they actually run.

One test now fails as a consequence. While this should be fixed one way
or the other a fix for that is outside of scope of this patch.
@traylenator
Copy link
Author

Easiest solution is declare the types private api and remove the tests but I'm not sure that was the original intention.

@ekohl
Copy link
Collaborator

ekohl commented Apr 1, 2025

I recall there was a rubocop-rspec plugin that looked for these wrong filenames.

Easiest solution is declare the types private api and remove the tests but I'm not sure that was the original intention.

@SimonHoenscheid mind taking a look since you wrote this?

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.

2 participants