From db1ab7d0b2c423a89a46b540813ebb094cd0b819 Mon Sep 17 00:00:00 2001 From: joker1007 Date: Thu, 7 Jan 2016 03:39:53 +0900 Subject: [PATCH] Add basename arg to Tempfile constructor --- spec/google/apis/core/upload_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/google/apis/core/upload_spec.rb b/spec/google/apis/core/upload_spec.rb index fff3f6e82..99039f8f0 100644 --- a/spec/google/apis/core/upload_spec.rb +++ b/spec/google/apis/core/upload_spec.rb @@ -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