Rspec and Capybara: how to use regex or stop caring about whitespaces
Nov 25, 2025 路 1 min read 路 I recently updated from Slim template to ERB to use Herb (Thanks Marco). I had to update a test that was very strict on the format. I realized that Capybara::Node::Simple doesn鈥檛 provide a selector for regex. The page object doesn鈥檛 have a match? met...
Join discussion



