2017/10
A Quick Guide to Rails System Tests in RSpec
Just this week, RSpec 3.7 was released with support for the Rails system tests added in Rails 5.1.
(If you’d like to read more about system tests and see examples of them in action, my book Rails 5 Test Prescriptions is now avaiable for purchase)
What are System tests? System tests were added to Rails core in Rails 5.1 as the core team’s preferred way to test client-side interactions using Capybara and a browser driver.