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:
parent
81acf4b60d
commit
5534b3932f
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue