-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
System spec generator still not supported #2082
Comments
This would be a great small PR for someone, our other generators should serve as an example to follow, and tweaked to generate the relevant template for a system spec |
Hello, |
Go for it |
Hey, I believe this issue may have already been resolved after taking a deeper look at the project. Upon forking and cloning the master branch I was looking in the lib/generators/rspec directory and found a system directory containing system_generator.rb and templates. In addition I found a system generator spec that seemed to verify the generator for system. I then verified the issue with a recent project I was using RSpec 3.8 and found running |
Ah my mistake, thanks for checking, #2084 is very similar if you'd like to tackle that instead? |
What Ruby, Rails and RSpec versions are you using?
Ruby version: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
Rails version: Rails 5.2.2
Rspec version: RSpec 3.8
Observed behavior
I want to generate system spec from rails generator command when running
Expected behaviour
Rails will create
spec/system/product/create_spec.rb
file and system spec template inside file.Actual behaviour
Error (Generator command still not available):
The text was updated successfully, but these errors were encountered: