Testing with Capybara [beta]
phlex-testing-capybara gem provides a test helper that lets you use Capybara matchers.
Add the following to the test group in your Gemfile and run
You’ll need to require
phlex/testing/capybara and include
render method will return a
Capybara::Node::Simple and set the
page attribute to the result.