lib/rubocop/cop/rspec/capybara/specific_matcher.rb in rubocop-rspec-2.12.0 vs lib/rubocop/cop/rspec/capybara/specific_matcher.rb in rubocop-rspec-2.12.1

- old
+ new

@@ -54,10 +54,10 @@ splitted_arg = arg[/^\w+/, 0] SPECIFIC_MATCHER[splitted_arg] end def acceptable_pattern?(arg) - arg.match?(/\[.+=\w+\]/) + arg.match?(/\[.+=\w+\]/) || arg.match?(/[ >,+]/) end def message(node, matcher) format(MSG, good_matcher: good_matcher(node, matcher),