[rspec-users] Error Testing a view in RSpec 2

Steve Hull lists at ruby-forum.com
Wed Jan 5 17:06:28 EST 2011


David Chelimsky wrote in post #949683:
> have_tag wrapped assert_select in a way that was very brittle. Also
> Webrat and Capybara matchers are better :)

Any tips on how we can use the Capybara matchers in our helper specs? 
Seems like a reasonable thing to want to do, since helpers are typically 
used to put together pieces of html.

-Steve

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list