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

Added #inspect to the delegators

This commit is contained in:
Sam Rawlins 2013-07-24 11:55:17 -07:00
parent f83edc2a51
commit 1f97459fc5

View file

@ -29,7 +29,7 @@ module Capybara
@query = query
end
def_delegators :@result, :each, :[], :at, :size, :count, :length, :first, :last, :empty?
def_delegators :@result, :each, :[], :at, :size, :count, :length, :first, :last, :empty?, :inspect
def matches_count?
Capybara::Helpers.matches_count?(@result.size, @query.options)