lib/rubocop/rspec/language.rb in rubocop-rspec-1.33.0 vs lib/rubocop/rspec/language.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -2,10 +2,10 @@
module RuboCop
module RSpec
# RSpec public API methods that are commonly used in cops
module Language
- RSPEC = '{(const nil? :RSpec) nil?}'
+ RSPEC = '{(const {nil? cbase} :RSpec) nil?}'
# Set of method selectors
class SelectorSet
def initialize(selectors)
@selectors = selectors