I don’t really have anything more to say about it since I literally don’t do anything different from my regular RSpec + Capybara tests.
What about single-page applications? I still use the same approach. When I used to build Angular + Rails SPAs, I would add a
before(:all) RSpec hook that would kick off a build of my Angular application before the test suite ran. After that point my RSpec + Capybara tests could interact with my SPA just as easily as if the application were a “traditional” Rails application.