Commit Graph

13 Commits

Author SHA1 Message Date
Adam McCrea 7a383b4251 Add custom selectors to avoid duplication and to
centralize finder strategies and failure messages
2012-01-02 11:12:28 +01:00
Jared Ning 1cea0f9f00 Change built-in css custom selector to use new css method. 2011-09-29 15:17:32 -05:00
Jared Ning 455c0513d5 Add custom matcher css method like xpath. 2011-09-29 15:04:51 -05:00
Jonas Nicklas and Nicklas Ramhöj 70c4f196c2 Not everything can or should be a selector ;) 2011-02-11 13:59:21 +01:00
Jonas Nicklas and Nicklas Ramhöj d0985f7f78 Add have_content matcher 2011-02-10 17:15:28 +01:00
Jonas Nicklas and Nicklas Ramhöj 764f022973 Failure message gets second param 2011-02-10 16:59:26 +01:00
Jonas Nicklas fb16abb308 Make sure matchers support options 2011-02-06 20:07:12 +01:00
Jonas Nicklas 8c301cedb1 Specify failure message for selectors 2011-02-04 16:16:46 +01:00
Jonas Nicklas b13e4d3887 changed Selector API. Now more like RSpec matchers 2010-10-22 13:29:08 +02:00
Jonas Nicklas 61bc3d74db XPath now supports descendant without arguments 2010-10-12 13:06:40 +02:00
Jonas Nicklas b9dadbb833 Update for latest xpath gem 2010-10-06 21:07:26 +02:00
Jonas Nicklas d995bfba42 Nicer implementation of :id selector 2010-08-27 21:07:08 +02:00
Jonas Nicklas e857058b9a Custom selectors can now take options, API changed
This allows custom selectors to be run for certain
objects, allowing very powerful abstractions.
2010-08-27 20:37:39 +02:00