lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-1.36.0 vs lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-1.37.0
- old
+ new
@@ -80,10 +80,10 @@
when :should, :should_not
node.loc.selector
end
end
- def is_expected_range(source_map) # rubocop:disable PredicateName
+ def is_expected_range(source_map) # rubocop:disable Naming/PredicateName
Parser::Source::Range.new(
source_map.expression.source_buffer,
source_map.expression.begin_pos,
source_map.selector.end_pos
)