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

Clean up generator for generator specs #2744

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

budu
Copy link
Contributor

@budu budu commented Mar 14, 2024

Don't force pluralization of the generator name in the generated spec and use the full generator name in the spec description.

Also clean up an extra whitespace and empty line in the template.

Note that the generator class constant cannot be directly used in the spec description as it isn't loaded by default.

@pirj
Copy link
Member

pirj commented Mar 14, 2024

I’m happy to merge it on green CI. I guess it’s a matter of removing two chars?

Don't force pluralization of the generator name in the generated spec
and use the full generator name in the spec description.

Also clean up an extra whitespace and empty line in the template.

Note that the generator class constant cannot be directly used in the
spec description as it isn't loaded by default.
@budu budu force-pushed the clean-generator-spec-generator branch from 7d4ce37 to a7489f5 Compare March 14, 2024 20:04
@budu
Copy link
Contributor Author

budu commented Mar 14, 2024

Done, totally missed the cucumber specs, sorry!

@pirj pirj merged commit ee844a4 into rspec:main Mar 16, 2024
17 checks passed
@pirj
Copy link
Member

pirj commented Mar 16, 2024

Thank you!

JonRowe pushed a commit that referenced this pull request Mar 18, 2024
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