lib/rubocop/cop/rspec/remove_const.rb in rubocop-rspec-2.31.0 vs lib/rubocop/cop/rspec/remove_const.rb in rubocop-rspec-3.0.0.pre

- old
+ new

@@ -15,10 +15,9 @@ # SomeClass.send(:remove_const, :SomeConstant) # end # class RemoveConst < Base include RuboCop::RSpec::Language - extend RuboCop::RSpec::Language::NodePattern MSG = 'Do not use remove_const in specs. ' \ 'Consider using e.g. `stub_const`.' RESTRICT_ON_SEND = %i[send __send__].freeze