lib/rubocop/rspec/hook.rb in rubocop-rspec-2.0.0.pre vs lib/rubocop/rspec/hook.rb in rubocop-rspec-2.0.0

- old
+ new

@@ -42,10 +42,10 @@ end private def valid_scope?(node) - node&.sym_type? && Hooks::Scopes::ALL.include?(node.value) + node&.sym_type? && Language::HookScopes.all(node.value) end def transform_metadata(meta) if meta.sym_type? { meta => true }