lib/rubocop/cop/rspec/subject_declaration.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/subject_declaration.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -4,10 +4,9 @@
module Cop
module RSpec
# Ensure that subject is defined using subject helper.
#
# @example
- #
# # bad
# let(:subject) { foo }
# let!(:subject) { foo }
# subject(:subject) { foo }
# subject!(:subject) { foo }