1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Thomas Walpole
618dd9ff70 Rubocop driven spec style cleanup 2018-03-01 11:44:55 -08:00
Thomas Walpole
6ef251e728 Raise ArgumentError rather than warning when extra parameters passed to SelectorQuery 2018-02-01 14:03:17 -08:00
Thomas Walpole
c7874b3f7f remove conditionals for no longer supported RSpec versions 2018-01-03 09:04:12 -08:00
Thomas Walpole
6356719043 Proxy all/within to the correct version based on parameters passed 2017-04-11 17:15:15 -07:00
Thomas Walpole
e85cce5778 Support easier full text matching 2016-12-23 12:28:25 -08:00
Thomas Walpole
3948f93346 RSpec matchers filter block 2016-11-18 21:23:11 -08:00
Thomas Walpole
c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -07:00
Thomas Walpole
5807c466c6 Warn when extra parameters passed to SelectorQuery 2016-04-04 15:36:43 -07:00
Thomas Walpole
07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
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