rubocop-rspec.yml in gitlab-styles-6.6.0 vs rubocop-rspec.yml in gitlab-styles-7.0.0

- old
+ new

@@ -93,12 +93,13 @@ RSpec/ImplicitExpect: Enabled: true EnforcedStyle: is_expected # Checks for the usage of instance variables. +# https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#subject-and-let-variables RSpec/InstanceVariable: - Enabled: false + Enabled: true # Checks for `subject` definitions that come after `let` definitions. RSpec/LeadingSubject: Enabled: false @@ -155,6 +156,6 @@ RSpec/SubjectStub: Enabled: false # Prefer using verifying doubles over normal doubles. RSpec/VerifiedDoubles: - Enabled: false + Enabled: true