-
Notifications
You must be signed in to change notification settings - Fork 1
Update RSpec guide #428
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
Update RSpec guide #428
Conversation
This time in the correct branch xd
rnestler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I like this a lot. With newer defaults in the rspec gem this will be outdated faster, then if we just add our options separately.
We could add a short reminder for users to inspect changes with |
coorasse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am also not much in favour. I think is better to add smaller bits. I'd rather remove the spec helper template.
I added back the incremental snippets together with the the configurations from the template files |
ruby_on_rails/rspec.md
Outdated
| add_filter "app/mailers/application_mailer.rb" | ||
| add_filter "app/models/application_record.rb" | ||
| add_filter ".semaphore-cache" | ||
| SimpleCov.start 'rails' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
our new standard is double quotes, so I'd use double quotes here as well
coorasse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This time in the correct branch xd
c22084a to
c0db5e6
Compare
…tions-setup-guide into Update-RSpec-guide
The RSpec configuration guide previously showed partial configuration snippets and instructed users to "check the template" for complete configurations. This required users to manually merge configurations from both the guide and the template files, which was confusing.
I updated the guide to include full configurations directly on the page. Users can now simply copy and paste the entire configuration blocks to replace their files without any manual merging.