lib/capybara/queries/match_query.rb in capybara-3.8.2 vs lib/capybara/queries/match_query.rb in capybara-3.9.0
- old
+ new
@@ -12,9 +12,10 @@
def assert_valid_keys
invalid_options = @options.keys & COUNT_KEYS
unless invalid_options.empty?
raise ArgumentError, "Match queries don't support quantity options. Invalid keys - #{invalid_options.join(', ')}"
end
+
super
end
def valid_keys
super - COUNT_KEYS