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

13 commits

Author SHA1 Message Date
Thomas Walpole
047098ad3f Disable jruby lazy results evaluation again 2017-02-16 13:34:45 -08:00
Thomas Walpole
f7e537006a allow lazy results evaluation on JRuby 9.1.6.0+ 2016-12-27 11:03:04 -08:00
Thomas Walpole
88be820f38 fix warnings in tests 2016-11-21 11:53:59 -08:00
Thomas Walpole
4bd9806804 Capybara::Result#each returns an Enumerator when called without a block 2016-10-18 11:15:25 -07:00
Thomas Walpole
ff51c95e76 Change how app errors are raised so cause gets set as wanted in JRuby
JRuby has an issue with lazy enumerator evaluation - disable Capybara::Result optimization when using JRuby
  See: https://github.com/jruby/jruby/issues/4212
2016-10-07 17:14:30 -07:00
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