lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-2.27.1 vs lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-2.28.0

- old
+ new

@@ -24,10 +24,10 @@ # end # # @example with AssignmentOnly configuration # # rubocop.yml # # RSpec/InstanceVariable: - # # AssignmentOnly: false + # # AssignmentOnly: true # # # bad # describe MyClass do # before { @foo = [] } # it { expect(@foo).to be_empty }