lib/rubocop/rspec/hook.rb in rubocop-rspec-1.15.0 vs lib/rubocop/rspec/hook.rb in rubocop-rspec-1.15.1
- old
+ new
@@ -2,10 +2,10 @@
module RuboCop
module RSpec
# Wrapper for RSpec hook
class Hook < Concept
- STANDARDIZED_SCOPES = %i(each context suite).freeze
+ STANDARDIZED_SCOPES = %i[each context suite].freeze
private_constant(:STANDARDIZED_SCOPES)
def name
node.method_name
end