uncover overriden test, remove needless method redefinition

This commit is contained in:
HoneyryderChuck 2025-09-03 10:59:06 +01:00
parent 4ad017665a
commit f044bcbcc4
2 changed files with 1 additions and 5 deletions

View File

@ -122,7 +122,7 @@ module Requests
# TODO: find out how to check the filename given.
end
define_method :"test_multipart_nested_filename_#{meth}" do
define_method :"test_multipart_subnested_filename_#{meth}" do
uri = build_uri("/#{meth}")
response = HTTPX.send(meth, uri, form: { q: { image: File.new(fixture_file_path) } })
verify_status(response, 200)

View File

@ -100,10 +100,6 @@ class WSCLient
@io.write(data)
end
def close
@driver.close
end
def finalize(_event)
@closed = true
end