lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/stubbed_mock.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -4,10 +4,9 @@
module Cop
module RSpec
# Checks that message expectations do not have a configured response.
#
# @example
- #
# # bad
# expect(foo).to receive(:bar).with(42).and_return("hello world")
#
# # good (without spies)
# allow(foo).to receive(:bar).with(42).and_return("hello world")