Commit Graph

3 Commits

Author SHA1 Message Date
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