Use Capybara on any HTML fragment or page

Posted . Visible to the public.

I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an HTML fragment or string that you’d like to use Capybara’s matchers on.

Last edit
Keywords
capybara, testing, makandra
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2011-07-27 05:43)