Skip to content

Commit

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

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

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

Examples how to migrate cops from TopLevelDescribe to TopLevelGroup:

 - rubocop/rubocop-rspec#932
 - rubocop/rubocop-rspec#977
  • Loading branch information
pirj committed Oct 22, 2020
1 parent e183dee commit ae8afb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rubocop-capybara.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

0 comments on commit ae8afb2

Please sign in to comment.