lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -18,10 +18,10 @@
# expect(foo).to have_received(:bar)
# end
#
class InstanceSpy < Cop
MSG = 'Use `instance_spy` when you check your double '\
- 'with `have_received`.'.freeze
+ 'with `have_received`.'
def_node_search :null_double, <<-PATTERN
(lvasgn $_
(send
$(send nil? :instance_double