[rspec-users] validating if a cell has any of the options.

Hillary Hueter weimar1927 at gmail.com
Wed Mar 28 22:11:00 UTC 2012

I'm testing the filter on a table. One of the filter options is "Show All". 
So for my other tests I've been looping through the rows and seeing if the 
table cell that contains the status doesn't include text (cell.should_not 
== 'Active').

However when the filter is set to all it can include any of the three 
statuses (Active, Inactive, Deleted). 

Using any of the rspec matchers how can I validate this? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120328/e1a79035/attachment.html>

More information about the rspec-users mailing list