Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Walpole ba37f78692 Update all tests to "expect" format and add support for RSpec 3 usage
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Jonas Nicklas 22d27fb2d3 Make text filter respect visibility filter 2013-02-17 16:09:14 +01:00
Jonas Nicklas e39c026abe Change selector normalization to check for symbol
With this change, any call to `find`, `all`, etc where the first argument is a Symbol, will assume that that Symbol is the name of the selector. This makes the `match` option on the `id` selector impossible, so `find(:foo)` will no longer find elements by id.

This change is in preparation for allowing selectors without locators, as discussed in #783, which we will probably hold off with until Capybara 2.1, because it is too much work.

This commit ensures we won't have to break the API to make implementing #783 possible.
2012-09-09 17:32:03 +02:00
Jonas Nicklas 2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Jonas Nicklas 520a42ab7f Added has_selector? method 2010-10-12 13:26:24 +02:00