lib/rubocop/rspec/hook.rb in rubocop-rspec-1.16.0 vs lib/rubocop/rspec/hook.rb in rubocop-rspec-1.17.0
- old
+ new
@@ -40,10 +40,10 @@
def scope_name
scope_argument.to_a.first
end
def scope_argument
- node.method_args.first
+ node.send_node.first_argument
end
end
end
end