lib/rubocop/cop/rspec/expect_in_hook.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/expect_in_hook.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -18,10 +18,10 @@ # # # good # it do # expect(something).to eq 'foo' # end - class ExpectInHook < Cop + class ExpectInHook < Base MSG = 'Do not use `%<expect>s` in `%<hook>s` hook' def_node_search :expectation, Expectations::ALL.send_pattern def on_block(node)