rspec / rspec-rails

RSpec for Rails 6+
https://rspec.info
MIT License
5.14k stars 1.03k forks source link

Clean up generator for generator specs #2744

Closed budu closed 3 months ago

budu commented 3 months ago

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 commented 3 months ago

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

budu commented 3 months ago

Done, totally missed the cucumber specs, sorry!

pirj commented 3 months ago

Thank you!