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