lib/rubocop/cop/rspec/expect_in_hook.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/expect_in_hook.rb in rubocop-rspec-1.33.0

- old
+ new

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