rspec / rspec-rails

RSpec for Rails 7+
https://rspec.info
MIT License
5.19k stars 1.04k forks source link

Clean up generator for generator specs #2743

Closed budu closed 8 months ago

budu commented 8 months ago

Use singular name in file name to match the generator name and use the generator name in the spec description.

Also clean up an extra white-space and empty line in the template.

Note that the generator class name cannot be directly used as it isn't loaded by default.