lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-2.22.0 vs lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-2.23.0
- old
+ new
@@ -46,10 +46,10 @@
# end
#
class InstanceVariable < Base
include TopLevelGroup
- MSG = 'Avoid instance variables – use let, ' \
+ MSG = 'Avoid instance variables - use let, ' \
'a method call, or a local variable (if possible).'
# @!method dynamic_class?(node)
def_node_matcher :dynamic_class?, <<-PATTERN
(block (send (const nil? :Class) :new ...) ...)