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

fix rebase to master

This commit is contained in:
Thomas Walpole 2017-03-07 19:34:26 -08:00
parent 81acf4b60d
commit 5534b3932f
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ Gem::Specification.new do |s|
s.add_development_dependency("yard", [">= 0.9.0"])
s.add_development_dependency("fuubar", [">= 1.0.0"])
s.add_development_dependency("cucumber", [">= 2.3.0"])
s.add_development_dependency("minitest")
s.add_development_dependency("rake")
s.add_development_dependency("puma")
s.add_development_dependency("erubi") # dependency specification needed by rbx

View file

@ -26,7 +26,7 @@ module Capybara
def initialize(elements, query)
@elements = elements
@result_cache = []
@results_enum = @elements.lazy_select_elements { |node| query.matches_filters?(node) }
@results_enum = lazy_select_elements { |node| query.matches_filters?(node) }
@query = query
end