Skip to content

Commit afe6bba

Browse files
committed
disable AvoidObjectSendWithDynamicMethod
1 parent 9b54a08 commit afe6bba

File tree

1 file changed

+2
-0
lines changed
  • spec/acceptance/github-server

1 file changed

+2
-0
lines changed

spec/acceptance/github-server/web.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,11 @@ def graphql_pending_query(query)
406406
end
407407

408408
[:get, :patch, :put, :delete, :post].each do |verb|
409+
# rubocop:disable GitHub/AvoidObjectSendWithDynamicMethod
409410
send verb, "/*" do
410411
raise "No route registered for #{params}. Take a look in #{__FILE__}"
411412
end
413+
# rubocop:enable GitHub/AvoidObjectSendWithDynamicMethod
412414
end
413415
end
414416

0 commit comments

Comments
 (0)