lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -35,10 +35,9 @@
def on_send(node)
before_or_after_all(node) do |hook|
add_offense(
node,
- location: :expression,
message: format(MSG, hook: hook.source)
)
end
end
end