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

David Chelimsky dchelimsky at gmail.com
Thu Mar 29 11:45:21 UTC 2012


On Wed, Mar 28, 2012 at 5:11 PM, Hillary Hueter <weimar1927 at gmail.com> wrote:
> 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').

Please post one of these examples so we can see precisely what you're
already doing.

Thx,
David

> 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?


More information about the rspec-users mailing list