Allow instance variables in has filter/order specs

These files create a fake class using an instance variable. While the
proper thing to do would be to refactor the `HasOrders` and `HasFilters`
concerns so they didn't use instance variables but methods, I don't
think that's going to happen in the near future.
This commit is contained in:
Javi Martín
2019-09-29 17:18:33 +02:00
parent 2ce3cfab5e
commit 4de4045fcc

View File

@@ -201,6 +201,9 @@ RSpec/HookArgument:
RSpec/InstanceVariable:
Enabled: true
Exclude:
- spec/controllers/concerns/has_filters_spec.rb
- spec/controllers/concerns/has_orders_spec.rb
RSpec/LetBeforeExamples:
Enabled: true