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

15 commits

Author SHA1 Message Date
Thomas Walpole
a65e51a7c7 Add Session#within_element alias of Session#within 2017-01-18 08:51:53 -08:00
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
Thomas Walpole
fb6c0ce9e5 fix failing specs due to invalid css 2013-02-18 13:08:34 -08:00
Jonas Nicklas
7e4d3b85f5 Use expect..to instead of the running alias 2012-10-30 14:26:19 +01:00
Jonas Nicklas
268b7caf32 Use have_content over body.should include, closes #792
The latter has timing issues in Selenium, since
visit/click_link, etc are async even on regular
page reloads.
2012-08-30 15:59:43 +02:00
Jonas Nicklas
2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00
Jonas Nicklas
cc05b1d63b Raise an error when there are multiple elements found 2012-02-01 13:24:13 +01:00
Adam McCrea
dfc217f005 Add specs for finder error messages 2012-01-02 11:12:28 +01:00
Adam McCrea
dc0715d4b2 Add spec to clarify usage of combining #within and #have_content 2011-09-03 13:27:30 -04:00
Peter Williams
363e87c862 Allow #within to take a node in addition to a selector 2011-08-26 11:36:51 -06:00
Jonas Nicklas
86491cb060 Within now accepts same args as other finders. closes #227 2010-12-22 16:15:06 +01:00
Jonas Nicklas
77168519a1 Wrap driver nodes in new Node class which inherits from session 2010-07-10 01:51:20 +02:00
Jonas Nicklas
cf1aa4d073 Moved shared specs into lib directory
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00
Renamed from spec/dsl/within_spec.rb (Browse further)