lib/rubocop/cop/rspec/subject_stub.rb in rubocop-rspec-2.16.0 vs lib/rubocop/cop/rspec/subject_stub.rb in rubocop-rspec-2.17.0
- old
+ new
@@ -10,10 +10,9 @@
# Checks nested subject stubs for innermost subject definition
# when subject is also defined in parent example groups.
#
# @see https://robots.thoughtbot.com/don-t-stub-the-system-under-test
# @see https://penelope.zone/2015/12/27/introducing-rspec-smells-and-where-to-find-them.html#smell-1-stubjec
- # @see https://github.com/rubocop-hq/rspec-style-guide#dont-stub-subject
#
# @example
# # bad
# describe Article do
# subject(:article) { Article.new }