From fa3eb13d0193cc197e12d2ce5c57309110f5ded1 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Thu, 23 Jul 2020 11:19:22 +0300 Subject: [PATCH] Retire TopLevelDescribe Why? - it was slow https://github.com/rubocop-hq/rubocop-rspec/pull/925#discussion_r436988718 - it ignored non-describe top-level example groups https://github.com/rubocop-hq/rubocop-rspec/pull/925#issuecomment-641140259 `TopLevelGroup` is a modern replacement for `TopLevelDescribe`. Examples how to migrate cops from TopLevelDescribe to TopLevelGroup: - https://github.com/rubocop-hq/rubocop-rspec/pull/932 - https://github.com/rubocop-hq/rubocop-rspec/pull/977 --- lib/rubocop-rspec_rails.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rubocop-rspec_rails.rb b/lib/rubocop-rspec_rails.rb index 006e39ee..60ee9380 100644 --- a/lib/rubocop-rspec_rails.rb +++ b/lib/rubocop-rspec_rails.rb @@ -9,7 +9,6 @@ require_relative 'rubocop/rspec/version' require_relative 'rubocop/rspec/inject' require_relative 'rubocop/rspec/node' -require_relative 'rubocop/rspec/top_level_describe' require_relative 'rubocop/rspec/wording' require_relative 'rubocop/rspec/language' require_relative 'rubocop/rspec/language/node_pattern'