I\'m working with Ruby on Rails 3, Cucumber, and Capybara
I\'ve been searching for quite some time, and I can\'t figure out how to find a specific page element within a
I've done stuff like this:
page.all(:css, 'button.btn-primary.days.active').size.should == 1
To check if there are any elements that contain a specific set of classes.
I didn't need to look for a particular text value of the element though.
I just wanted to ensure the existence of the element, and how many of them there were.