-
-
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
Explain how to set a default driver for system specs #2807
Explain how to set a default driver for system specs #2807
Conversation
Thanks for taking the time to improve this! I've suggested a wording change here because what your doing is still manually setting the driver in every test, just with a hook, as a bonus it cleans up the whitespace that is failing CI |
Co-authored-by: Jon Rowe <mail@jonrowe.co.uk>
Co-authored-by: Jon Rowe <mail@jonrowe.co.uk>
Thank you @JonRowe - I added a little more to the code example so its clear to add the snippet within the |
Co-authored-by: Nate Matykiewicz <natematykiewicz@gmail.com>
Thanks! |
…-driver Explain how to set a default driver for system specs
These have been published, thanks again. |
Current docs explain how to specify the system spec driver for each spec/suite using
driven_by
, but I felt it lacked explanation on how to set a default driver for all system specs (especially sinceCapybara.default_driver = ...
will not do so).First PR here so please share if I am missing a step in your approval procedure.