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(:userid => $support, :password => $password)

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

2012-03-30 Thread Justin Ko
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(:userid => $support, :password => $password) ## Logs in > c.manage_application_page.filter.when_present.flash >

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

2012-03-30 Thread Hillary Hueter
The example as it exists today: it "should show all applications" do I.new do |c| c.login_flow(:userid => $support, :password => $password) ## Logs in c.manage_application_page.filter.when_present.flash c.manage_application_page.filter.when_present.select_value("All")

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

2012-03-29 Thread David Chelimsky
On Wed, Mar 28, 2012 at 5:11 PM, Hillary Hueter 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

[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