rubocop-rspec.yml in rubocop-discourse-3.7.1 vs rubocop-rspec.yml in rubocop-discourse-3.8.1
- old
+ new
@@ -1,7 +1,8 @@
require:
- rubocop-rspec
+ - rubocop-rspec_rails
RSpec/AnyInstance:
Enabled: false # To be decided
RSpec/AroundBlock:
@@ -221,10 +222,17 @@
Enabled: true
RSpec/Yield:
Enabled: true
-RSpec/Capybara/FeatureMethods:
+RSpec/Dialect:
Enabled: true
+ PreferredMethods:
+ background: :before
+ scenario: :it
+ xscenario: :xit
+ given: :let
+ given!: :let!
+ feature: :describe
-RSpec/Rails/HttpStatus:
+RSpecRails/HttpStatus:
Enabled: true