lib/rubocop/cop/rspec/capybara/visibility_matcher.rb in rubocop-rspec-2.1.0 vs lib/rubocop/cop/rspec/capybara/visibility_matcher.rb in rubocop-rspec-2.2.0

- old
+ new

@@ -42,9 +42,11 @@ have_unchecked_field have_text have_content ].freeze + RESTRICT_ON_SEND = CAPYBARA_MATCHER_METHODS + def_node_matcher :visible_true?, <<~PATTERN (send nil? #capybara_matcher? ... (hash <$(pair (sym :visible) true) ...>)) PATTERN def_node_matcher :visible_false?, <<~PATTERN