Sha256: a350c69144c44fe498ae3a18b56dce8c0a0d00723c3d3298ea83a5b004ae3484

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

module Capybara
  module Queries
    class MatchQuery < Capybara::Queries::SelectorQuery
      def visible
        options.key?(:visible) ? super : :all
      end

    private

      def valid_keys
        super - COUNT_KEYS
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
capybara-3.0.3 lib/capybara/queries/match_query.rb
capybara-3.0.2 lib/capybara/queries/match_query.rb
capybara-3.0.1 lib/capybara/queries/match_query.rb
capybara-3.0.0 lib/capybara/queries/match_query.rb
capybara-3.0.0.rc2 lib/capybara/queries/match_query.rb
capybara-3.0.0.rc1 lib/capybara/queries/match_query.rb