Before, my specifications had these lines:
within "h3:contains('FooBar text') + dl" do
page.should have_content 'FizzBuzz'
end
(within the definition list following a header that contains specific text)
I recently updated capybara-webkit and now the 'contains' selector is not functioning
(which is understandable as it's deprecated in CSS3).
I'm struggling to find an easy way to rephrase this. Any suggestions?