Thomas Walpole
cb85ed5d13
optimize Result#matches_count?
2016-08-31 14:55:03 -07:00
Thomas Walpole
676fba48e2
Optimize Capybara::Result by evaluating filters lazily when possible
2016-08-15 13:28:32 -07:00
Thomas Walpole
07e7777425
frozen literal magic comment
2016-03-07 16:52:19 -08:00
Thomas Walpole
85e9fcd7f2
fix feature definition in case user has RSpec set not to expose dsl globally - test in rspec 3 beta tests
2014-04-03 10:25:03 -07: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
Andrey Botalov
4df077e375
Delegate index and values_at from Capybara::Result
2013-10-29 23:43:11 +03:00
Phil Lee
b9c88ee2a1
Results can now be sampled.
...
An instance of Result can now call #sample. This is delegated to Array#sample.
This allows a random result to be chosen.
This is useful if we want to check one of the results but with no particular preference as to which result.
2013-09-16 12:19:06 +01:00
adammck
86bcb24071
Delegate common Result methods to Array
...
Closes upstream #784 .
2012-08-09 20:54:59 -04:00