I\'m writing a Capybara test and using Rspec for the assertions. My test is failing because there is a CSS style being applied that is causing the text to be in all caps. How ca
Here's improving on phoet's solution:
page.body.should match(%r{#{string}}i)
Unfortunately the syntax highlighting here isn't doing it much justice (it looks perfectly fine in Sublime Text)