Remove instance variables in RSpec

Instance variables might lead to hard-to-detect issues, since using a
nonexistent instance variable will return `nil` instead of raising an
error.
This commit is contained in:
Javi Martín
2019-09-29 14:01:55 +02:00
parent f70e10fe9f
commit 91c21b0982
39 changed files with 639 additions and 667 deletions

View File

@@ -199,6 +199,9 @@ RSpec/Focus:
RSpec/HookArgument:
Enabled: true
RSpec/InstanceVariable:
Enabled: true
RSpec/LetBeforeExamples:
Enabled: true