lib/rubocop/rspec/node.rb in rubocop-rspec-2.11.1 vs lib/rubocop/rspec/node.rb in rubocop-rspec-2.12.0

- old
+ new

@@ -2,10 +2,10 @@ module RuboCop module RSpec # RuboCop RSpec specific extensions of RuboCop::AST::Node module Node - # In various cops we want to regard const as literal althought it's not + # In various cops we want to regard const as literal although it's not # strictly literal. def recursive_literal_or_const? case type when :begin, :pair, *AST::Node::COMPOSITE_LITERALS children.all?(&:recursive_literal_or_const?)