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
CJ Kihlbom and Jonas Nicklas
e00e748476
Send through options to unselect
2013-02-24 17:03:12 +01:00
Jonas Nicklas
7e4d3b85f5
Use expect..to instead of the `running` alias
2012-10-30 14:26:19 +01:00
Jonas Nicklas
c7bf8359f2
Support non string arguments
...
Most of this work was done in the xpath gem, this
commit really only adds tests.
2012-09-06 09:33: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 and Nicklas Ramhöj
5935b6c052
Use HaveSelector matchers for more RSpec matchers
2012-06-08 17:07:12 +02:00
Jonas Nicklas and Nicklas Ramhöj
ad833a1e13
Selectors can no longer have custom failure messages
2012-06-08 15:53:25 +02:00
Jonas Nicklas
cc05b1d63b
Raise an error when there are multiple elements found
2012-02-01 13:24:13 +01:00
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
Adam McCrea
dfc217f005
Add specs for finder error messages
2012-01-02 11:12:28 +01:00
Jonas Nicklas
c67dceb537
select/unselect do not require a from option
...
This way they can more conveniently be called on
a found element. E.g.:
find('#my_select').select('Some option')
2010-10-03 19:15:40 +02:00
Jonas Nicklas
8d341948fd
select_option/unselect_option are now called on option node
...
This means that we can move the find object into
Capybara::Node instead of Capybara::Driver::Node
which gives us AJAX waiting and preference for
exact matches for free.
2010-08-14 13:43:38 +02:00
Jonas Nicklas
cbb42a1da7
XPath escape value in select/unselect under rack-test
2010-04-26 17:23:34 +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