lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/hook_argument.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -78,10 +78,9 @@
return check_implicit(method_send) unless scope_name
style_detected(scope_name)
add_offense(
method_send,
- location: :expression,
message: explicit_message(scope_name)
)
end
end