lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.18.0 vs lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.19.0

- old
+ new

@@ -61,10 +61,10 @@ return unless spec_group?(node) ivar_usage(node) do |ivar, name| return if assignment_only? && !ivar_assigned?(node, name) - add_offense(ivar, :expression) + add_offense(ivar, location: :expression) end end private