aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index eb410376fe..afd5d6228d 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -9,11 +9,17 @@ AllCops:
- '**/templates/**/*'
- '**/vendor/**/*'
- 'actionpack/lib/action_dispatch/journey/parser.rb'
+ - 'railties/test/fixtures/tmp/**/*'
# Prefer assert_not_x over refute_x
CustomCops/RefuteNot:
Include:
- - '**/*_test.rb'
+ - '**/test/**/*'
+
+# Prefer assert_not over assert !
+CustomCops/AssertNot:
+ Include:
+ - '**/test/**/*'
# Prefer &&/|| over and/or.
Style/AndOr: