Skip to content

Commit

Permalink
Retire TopLevelDescribe
Browse files Browse the repository at this point in the history
Why?

 - it was slow #925 (comment)
 - it ignored non-describe top-level example groups #925 (comment)

`TopLevelGroup` is a modern replacement for `TopLevelDescribe`.

Examples how to migrate cops from TopLevelDescribe to TopLevelGroup:

 - #932
 - #977
  • Loading branch information
pirj committed Jul 23, 2020
1 parent 32188de commit f9e19f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
1 change: 0 additions & 1 deletion lib/rubocop-rspec.rb
Expand Up @@ -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'
Expand Down
52 changes: 0 additions & 52 deletions lib/rubocop/rspec/top_level_describe.rb

This file was deleted.

0 comments on commit f9e19f5

Please sign in to comment.