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

2012-04-06 Thread Hillary Hueter
thanks. On Friday, March 30, 2012 5:30:28 PM UTC-7, Justin Ko wrote: > > > On Mar 30, 2012, at 10:52 AM, Hillary Hueter wrote: > > > The example as it exists today: >it "should show all applications" do > I.new do |c| > c.login_flow(:useri

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

2012-03-30 Thread Hillary Hueter
All Active Applications" #Assertion c.manage_application_page.applications_table.tr.each do |cell| cell.text.should_not == 'Deleted' cell.text.should_not == 'Inactive' end end end On Thursday, March 29, 2012 4:45:2

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

2012-03-28 Thread Hillary Hueter
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