lib/rubocop/cop/rspec/yield.rb in rubocop-rspec-2.10.0 vs lib/rubocop/cop/rspec/yield.rb in rubocop-rspec-2.11.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module RSpec
- # This cop checks for calling a block within a stub.
+ # Checks for calling a block within a stub.
#
# @example
# # bad
# allow(foo).to receive(:bar) { |&block| block.call(1) }
#