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

10 commits

Author SHA1 Message Date
Thomas Walpole
c5d7089e0e generally prefer ruby 1.9 hash format 2016-10-04 11:10:29 -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
Greg Molnar
316286d026 add refute_selector as alias of assert_no_selector 2014-01-29 12:45:18 +01:00
Jonas Nicklas
279e7b1157 Remove useless print statement 2013-10-20 19:29:33 +02:00
Vasiliy Ermolovich
04b99e1634 support :wait option in assert_selector and has_text? matcher
closes #1105
2013-07-03 15:09:02 +03:00
Jonas Nicklas
1803a9f991 Decrease wait in specs time unless spec requires js 2012-10-30 14:10:22 +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
430175e7fb Specs for assert_selector 2012-07-13 20:27:41 +02:00