Add basename arg to Tempfile constructor
This commit is contained in:
parent
4b78f99f7a
commit
db1ab7d0b2
|
@ -131,7 +131,7 @@ RSpec.describe Google::Apis::Core::RawUploadCommand do
|
|||
|
||||
context('with Tempfile input') do
|
||||
let(:file) do
|
||||
temp_file = Tempfile.new
|
||||
temp_file = Tempfile.new("tempfile")
|
||||
temp_file.write("Hello world\n")
|
||||
temp_file.rewind
|
||||
temp_file
|
||||
|
|
Loading…
Reference in New Issue