lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.2.0 vs lib/rubocop/cop/rspec/instance_variable.rb in rubocop-rspec-1.2.1

- old
+ new

@@ -8,16 +8,16 @@ # # @example # # bad # describe MyClass do # before { @foo = [] } - # it { expect(@foo).to be_emtpy } + # it { expect(@foo).to be_empty } # end # # # good # describe MyClass do # let(:foo) { [] } - # it { expect(foo).to be_emtpy } + # it { expect(foo).to be_empty } # end class InstanceVariable < Cop MESSAGE = 'Use `let` instead of an instance variable' EXAMPLE_GROUP_METHODS = [ :example_group, :describe, :context, :xdescribe, :xcontext,