Is it possible globally configure RSpec to use Capybara’s (default or custom) JavaScript driver for all request specs? We sometimes forget to manually add js: true to every request spec and it’s kind of annoying.
Is it possible globally configure RSpec to use Capybara’s (default or custom) JavaScript driver
Share
In spec_helper.rb, set the following: