lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.23.0 vs lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.24.0
- old
+ new
@@ -57,9 +57,10 @@
# before(:example) do
# # ...
# end
class HookArgument < Cop
include ConfigurableEnforcedStyle
+ include RangeHelp
IMPLICIT_MSG = 'Omit the default `%<scope>p` ' \
'argument for RSpec hooks.'.freeze
EXPLICIT_MSG = 'Use `%<scope>p` for RSpec hooks.'.freeze