lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -44,10 +44,10 @@
# describe MyClass do
# let(:foo) { [] }
# it { expect(foo).to be_empty }
# end
#
- class InstanceVariable < Cop
+ class InstanceVariable < Base
include RuboCop::RSpec::TopLevelGroup
MSG = 'Avoid instance variables – use let, ' \
'a method call, or a local variable (if possible).'