search for: _have_tag

Displaying 1 result from an estimated 1 matches for "_have_tag".

Did you mean: have_tag
2007 Feb 15
1
Specs for RJS HTML output NOT containing an element
Hi I have an RJS template that renders a partial to update a page. I just added a parameter to get passed into this partial to eliminate a row in the table it generates, but I can''t find a way to test that the unwanted output is in fact missing. should(_not)_have_tag doesn''t work with RJS, and there''s no should_not_have from assert select. What I''ve just cobbled together is this addition to my spec_helper.rb: module Spec module Rails class AssertSelectWrapper def should_not_have(*opts)...