lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -60,10 +60,10 @@
def_node_search :examples?, <<~PATTERN
(send nil? {#Includes.examples #Examples.all} ...)
PATTERN
# @!method context?(node)
- def_node_search :context?, <<-PATTERN
+ def_node_search :context?, <<~PATTERN
(send nil?
{#Subjects.all #Helpers.all #Includes.context #Hooks.all} ...
)
PATTERN