lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.27.0 vs lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.28.0
- old
+ new
@@ -62,10 +62,10 @@
skip_symbol?(node)
end
end
def skip_symbol?(symbol_node)
- symbol_node == SKIP_SYMBOL || symbol_node == PENDING_SYMBOL
+ [SKIP_SYMBOL, PENDING_SYMBOL].include?(symbol_node)
end
end
end
end
end